blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
d07149fc3d7c5b9da5eb276482171723605c7fab
0eb1d32c5e2770ad6d6e8f09061e9d5a09f3c37d
/Order/migrations/0005_auto_20210211_0723.py
e8f4fb7d13903a1b3498f229ffb1fffe4aa16799
[]
no_license
HadiGhazali/digikala
da4e993a590d17801b4bf3ce3be37f62e0fce5d8
4ccbf199b5c848e0e7550eb8ebaaeaa0bc096cd2
refs/heads/main
2023-03-12T13:00:22.000792
2021-03-04T14:38:25
2021-03-04T14:38:25
322,250,951
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
# Generated by Django 3.1.4 on 2021-02-11 07:23 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('Order', '0004_auto_20210209_1157'), ] operations = [ migrations.AlterModelOptions( name='payment', options={'verbose_name': 'Payment', 'verbose_name_plural': 'Payments'}, ), ]
[ "hadivardanjani1378@gmail.com" ]
hadivardanjani1378@gmail.com
7bc5380e75326d290d6e39e7230a3ffc2a21a7be
907a9eb00dd203c0fdb97191bfcba606513188bd
/backend_ch3_sec1/utils/timeutil.py
2406e561ab6443d32ad14ee612b1a713aabe063d
[]
no_license
liuwenwen163/django_wx_mini_program
68ea089d09611653ac071df0a047d4029843ee93
9d0d27e6e29671bd5d38305dac828a61b01095cb
refs/heads/master
2021-06-26T11:26:02.381690
2020-01-11T07:42:14
2020-01-11T07:42:14
229,743,816
0
1
null
2021-06-10T22:25:45
2019-12-23T11:59:47
JavaScript
UTF-8
Python
false
false
587
py
# encoding: utf-8 import datetime __author__ = "bbw" def get_day_left_in_second(): """ 返回一天剩余的时间(单位:秒) """ now = datetime.datetime.now() # 获取当前时间 tomorrow = now + datetime.timedelta(days=1) # 获取第二天时间 left = (datetime.datetime(tomorrow.year, tomorrow.month, tomorrow.day, 0, 0, 0) - now) return int(left.total_seconds()) if __name__ == '__main__': print(get_day_left_in_second())
[ "liuwenwen163@gmail.com" ]
liuwenwen163@gmail.com
33f009061fd16292373e1ab20ff66278168377d0
b8a38d4fb260ddcc042759a2be589baf2e3ebc12
/code/net_basic/net04_multiprocessing/net04_sing_dance_variable.py
e8a6dfd03db70a692bc415c72aa923d5f3da99c0
[ "BSD-2-Clause" ]
permissive
KEVINYZY/python_web_Crawler_DA_ML_DL
f1c7c9de8d5ef53da4661c22925a888ffe4f0433
f5bfe9b70062ff0e589c5e611b9dc8d3cc888582
refs/heads/master
2020-03-30T02:11:04.792801
2019-12-06T06:32:37
2019-12-06T06:32:37
150,617,895
0
0
BSD-2-Clause
2018-09-27T16:39:36
2018-09-27T16:39:36
null
UTF-8
Python
false
false
911
py
"""进程传递参数""" ''' @Time : 2018/1/22 下午4:22 @Author : scrappy_zhang @File : net04_sing_dance_variable.py ''' import multiprocessing import time def sing(name, sing_name): for i in range(5): print(name, '正在唱歌%s呢 %d' % (sing_name, i)) time.sleep(1) # 休息1秒 def dance(**kwargs): dancer = kwargs['dancer'] for i in range(5): print('%s正在伴舞呢 %d' % (dancer,i)) time.sleep(1) # 休息1秒 if __name__ == '__main__': singer = 'Jam' sing_name = '不露声色' p1 = multiprocessing.Process(target=sing, args=(singer, sing_name)) # 创建唱歌进程,告诉子进程是Jam唱不露声色 p2 = multiprocessing.Process(target=dance,kwargs={'dancer':'杰克逊'}) # 创建跳舞进程,告诉子进程是杰克逊来唱歌啦 p1.start() # 开始运行进程sing p2.start() # 开始运行进程dance
[ "a7478317@163.com" ]
a7478317@163.com
e228512f9e80955d495d2b73e30e4452f478273a
d37ed52e1092cd0050531896b3a7c14174e7dd8d
/qiskit/chemistry/drivers/gaussiand/gaussian_log_result.py
403fe80c7d66c168d2669530b2e25d0ac179c7dd
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
dongreenberg/aqua
44638e3688ac3700c06006f9f13266aeca513c15
051635bb9beb64a9a6aa27a04264b548bf2e48a9
refs/heads/master
2021-06-28T03:56:23.430398
2020-10-15T01:01:20
2020-10-15T01:01:20
144,927,387
2
0
Apache-2.0
2020-10-15T01:01:22
2018-08-16T02:40:28
Python
UTF-8
Python
false
false
20,313
py
# This code is part of Qiskit. # # (C) Copyright IBM 2020. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative works of this code must retain this # copyright notice, and modified files need to carry a notice indicating # that they have been altered from the originals. """ Gaussian Log File Result """ import math from typing import Dict, Union, List, Tuple, cast import copy import logging import re import numpy as np logger = logging.getLogger(__name__) class GaussianLogResult: """ Result for Gaussian™ 16 log driver. This result allows access to selected data from the log file that is not available via the use Gaussian 16 interfacing code when using the MatrixElement file. Since this parses the text output it is subject to the format of the log file. """ def __init__(self, log: Union[str, List[str]]) -> None: """ Args: log: The log contents conforming to Gaussian™ 16 format either as a single string containing new line characters, or as a list of strings. If the single string has no new line characters it is treated a file name and the file contents will be read (a valid log file would be multiple lines). Raises: ValueError: Invalid Input """ self._log = None if isinstance(log, str): lines = log.split('\n') if len(lines) == 1: with open(lines[0]) as file: self._log = file.read().split('\n') else: self._log = lines elif isinstance(log, list): self._log = log else: raise ValueError("Invalid input for Gaussian Log Parser '{}'".format(log)) @property def log(self) -> List[str]: """ The complete Gaussian log in the form of a list of strings. """ return copy.copy(self._log) def __str__(self): return '\n'.join(self._log) # Sections of interest in the log file _SECTION_QUADRATIC = r':\s+QUADRATIC\sFORCE\sCONSTANTS\sIN\sNORMAL\sMODES' _SECTION_CUBIC = r':\s+CUBIC\sFORCE\sCONSTANTS\sIN\sNORMAL\sMODES' _SECTION_QUARTIC = r':\s+QUARTIC\sFORCE\sCONSTANTS\sIN\sNORMAL\sMODES' @property def quadratic_force_constants(self) -> List[Tuple[str, str, float, float, float]]: """ Quadratic force constants. (2 indices, 3 values) Returns: A list of tuples each with 2 index values and 3 constant values. An empty list is returned if no such data is present in the log. """ qfc = self._force_constants(self._SECTION_QUADRATIC, 2) return cast(List[Tuple[str, str, float, float, float]], qfc) @property def cubic_force_constants(self) -> List[Tuple[str, str, str, float, float, float]]: """ Cubic force constants. (3 indices, 3 values) Returns: A list of tuples each with 3 index values and 3 constant values. An empty list is returned if no such data is present in the log. """ cfc = self._force_constants(self._SECTION_CUBIC, 3) return cast(List[Tuple[str, str, str, float, float, float]], cfc) @property def quartic_force_constants(self) -> List[Tuple[str, str, str, str, float, float, float]]: """ Quartic force constants. (4 indices, 3 values) Returns: A list of tuples each with 4 index values and 3 constant values. An empty list is returned if no such data is present in the log. """ qfc = self._force_constants(self._SECTION_QUARTIC, 4) return cast(List[Tuple[str, str, str, str, float, float, float]], qfc) def _force_constants(self, section_name: str, indices: int) -> List[Tuple]: constants = [] pattern_constants = '' for i in range(indices): pattern_constants += r'\s+(?P<index{}>\w+)'.format(i+1) for i in range(3): pattern_constants += r'\s+(?P<const{}>[+-]?\d+\.\d+)'.format(i+1) # Find the section of interest i = 0 found_section = False for i, line in enumerate(self._log): if re.search(section_name, line) is not None: found_section = True break # Now if section found look from this line onwards to get the corresponding constant data # lines which are from when we start to get a match against the constants pattern until we # do not again. const_found = False if found_section: for line in self._log[i:]: if not const_found: # If we have not found the first line that matches we keep looking # until we get a match (non-None) and then drop through into found # section which we use thereafter const = re.match(pattern_constants, line) const_found = const is not None if const_found: # If we found the match then for each line we want the contents until # such point as it does not match anymore then we break out const = re.match(pattern_constants, line) if const is not None: clist = [] # type: List[Union[str, float]] for i in range(indices): clist.append(const.group('index{}'.format(i + 1))) for i in range(3): clist.append(float(const.group('const{}'.format(i + 1)))) constants.append(tuple(clist)) else: break # End of matching lines return constants @property def a_to_h_numbering(self) -> Dict[str, int]: """ A to H numbering mapping. Returns: Dictionary mapping string A numbering such as '1', '3a' etc from forces modes to H integer numbering """ a2h = {} # type: Dict[str, int] found_section = False found_h = False found_a = False for line in self._log: if not found_section: if re.search(r'Input/Output\sinformation', line) is not None: logger.debug(line) found_section = True else: if re.search(r'\s+\(H\)\s+\|', line) is not None: logger.debug(line) found_h = True h_nums = [x.strip() for x in line.split('|') if x and '(H)' not in x] elif re.search(r'\s+\(A\)\s+\|', line) is not None: logger.debug(line) found_a = True a_nums = [x.strip() for x in line.split('|') if x and '(A)' not in x] if found_h and found_a: for i, a_num in enumerate(a_nums): a2h[a_num] = int(h_nums[i]) break return a2h # ---------------------------------------------------------------------------------------- # The following is to process the constants and produce an n-body array for input # to the Bosonic Operator. It maybe these methods all should be in some other module # but for now they are here @staticmethod def _multinomial(indices: List[int]) -> float: # For a given list of integers, computes the associated multinomial tmp = set(indices) # Set of unique indices multinomial = 1 for val in tmp: count = indices.count(val) multinomial = multinomial * math.factorial(count) return multinomial def _process_entry_indices(self, entry: List[Union[str, float]]) -> List[int]: # a2h gives us say '3a' -> 1, '3b' -> 2 etc. The H values can be 1 through 4 # but we want them numbered in reverse order so the 'a2h_vals + 1 - a2h[x]' # takes care of this a2h = self.a_to_h_numbering a2h_vals = max(list(a2h.values())) # There are 3 float entries in the list at the end, the other entries up # front are the indices (string type). num_indices = len(entry) - 3 return [a2h_vals + 1 - a2h[cast(str, x)] for x in entry[0:num_indices]] def _compute_modes(self, normalize: bool = True) -> List[List[Union[int, float]]]: # Returns [value, idx0, idx1...] from 2 indices (quadratic) to 4 (quartic) qua = self.quadratic_force_constants cub = self.cubic_force_constants qrt = self.quartic_force_constants modes = [] for entry in qua: indices = self._process_entry_indices(list(entry)) if indices: factor = 2.0 factor *= self._multinomial(indices) if normalize else 1.0 line = [entry[2] / factor] line.extend(indices) modes.append(line) modes.append([-x for x in line]) for entry_c in cub: indices = self._process_entry_indices(list(entry_c)) if indices: factor = 2.0 * math.sqrt(2.0) factor *= self._multinomial(indices) if normalize else 1.0 line = [entry_c[3] / factor] line.extend(indices) modes.append(line) for entry_q in qrt: indices = self._process_entry_indices(list(entry_q)) if indices: factor = 4.0 factor *= self._multinomial(indices) if normalize else 1.0 line = [entry_q[4] / factor] line.extend(indices) modes.append(line) return modes @staticmethod def _harmonic_integrals(m: int, n: int, power: int, kinetic_term: bool = False) -> float: r""" Computes the integral of the Hamiltonian with the harmonic basis. This computation is as shown in J. Chem. Phys. 135, 134108 (2011); https://doi.org/10.1063/1.3644895 (Table 1) Args: m: first modal index n: second modal index power: the exponent on the coordinate (Q, Q^2, Q^3 or Q^4) kinetic_term: needs to be set to true to do the integral of the kinetic part of the hamiltonian d^2/dQ^2 Returns: The value of the integral Raises: ValueError: If power is invalid """ coeff = 0.0 if power == 1: if m - n == 1: coeff = np.sqrt(m / 2) elif power == 2 and kinetic_term is True: if m - n == 0: coeff = -(m + 1 / 2) elif m - n == 2: coeff = np.sqrt(m * (m - 1)) / 2 # coeff = -coeff elif power == 2 and kinetic_term is False: if m - n == 0: coeff = (m + 1 / 2) elif m - n == 2: coeff = np.sqrt(m * (m - 1)) / 2 elif power == 3: if m - n == 1: coeff = 3 * np.power(m / 2, 3 / 2) elif m - n == 3: coeff = np.sqrt(m * (m - 1) * (m - 2)) / np.power(2, 3 / 2) elif power == 4: if m - n == 0: coeff = (6 * m * (m + 1) + 3) / 4 elif m - n == 2: coeff = (m - 1 / 2) * np.sqrt(m * (m - 1)) elif m - n == 4: coeff = np.sqrt(m * (m - 1) * (m - 2) * (m - 3)) / 4 else: raise ValueError('The expansion order of the PES is too high.') return coeff * (np.sqrt(2) ** power) def compute_harmonic_modes(self, num_modals: int, truncation_order: int = 3, threshold: float = 1e-6) \ -> List[List[Tuple[List[List[int]], float]]]: """ This prepares an array object representing a bosonic hamiltonian expressed in the harmonic basis. This object can directly be given to the BosonicOperator class to be mapped to a qubit hamiltonian. Args: num_modals: number of modals per mode truncation_order: where is the Hamiltonian expansion truncation (1 for having only 1-body terms, 2 for having on 1- and 2-body terms...) threshold: the matrix elements of value below this threshold are discarded Returns: List of modes for input to creation of a bosonic hamiltonian in the harmonic basis Raises: ValueError: If problem with order value from computed modes """ num_modes = len(self.a_to_h_numbering) harmonic_dict = {1: np.zeros((num_modes, num_modals, num_modals)), 2: np.zeros((num_modes, num_modals, num_modals, num_modes, num_modals, num_modals)), 3: np.zeros((num_modes, num_modals, num_modals, num_modes, num_modals, num_modals, num_modes, num_modals, num_modals))} entries = self._compute_modes() for entry in entries: # Entry is coeff (float) followed by indices (ints) coeff0 = cast(float, entry[0]) indices = cast(List[int], entry[1:]) kinetic_term = False # Note: these negative indices as detected below are explicitly generated in # _compute_modes for other potential uses. They are not wanted by this logic. if any([index < 0 for index in indices]): kinetic_term = True indices = np.absolute(indices) indexes = {} # type: Dict[int, int] for i in indices: if indexes.get(i) is None: indexes[i] = 1 else: indexes[i] += 1 order = len(indexes.keys()) modes = list(indexes.keys()) if order == 1: for m in range(num_modals): for n in range(m+1): coeff = coeff0 * self._harmonic_integrals( m, n, indexes[modes[0]], kinetic_term=kinetic_term) if abs(coeff) > threshold: harmonic_dict[1][modes[0]-1, m, n] += coeff if m != n: harmonic_dict[1][modes[0] - 1, n, m] += coeff elif order == 2: for m in range(num_modals): for n in range(m+1): coeff1 = coeff0 * self._harmonic_integrals( m, n, indexes[modes[0]], kinetic_term=kinetic_term) for j in range(num_modals): for k in range(j+1): coeff = coeff1 * self._harmonic_integrals( j, k, indexes[modes[1]], kinetic_term=kinetic_term) if abs(coeff) > threshold: harmonic_dict[2][modes[0] - 1, m, n, modes[1] - 1, j, k] += coeff if m != n: harmonic_dict[2][modes[0] - 1, n, m, modes[1] - 1, j, k] += coeff if j != k: harmonic_dict[2][modes[0] - 1, m, n, modes[1] - 1, k, j] += coeff if m != n and j != k: harmonic_dict[2][modes[0] - 1, n, m, modes[1] - 1, k, j] += coeff elif order == 3: for m in range(num_modals): for n in range(m+1): coeff1 = coeff0 * self._harmonic_integrals( m, n, indexes[modes[0]], kinetic_term=kinetic_term) for j in range(num_modals): for k in range(j+1): coeff2 = coeff1 * self._harmonic_integrals( j, k, indexes[modes[1]], kinetic_term=kinetic_term) # pylint: disable=locally-disabled, invalid-name for p in range(num_modals): for q in range(p+1): coeff = coeff2 * self._harmonic_integrals( p, q, indexes[modes[2]], kinetic_term=kinetic_term) if abs(coeff) > threshold: harmonic_dict[3][modes[0] - 1, m, n, modes[1] - 1, j, k, modes[2] - 1, p, q] += coeff if m != n: harmonic_dict[3][modes[0] - 1, n, m, modes[1] - 1, j, k, modes[2] - 1, p, q] += coeff if k != j: harmonic_dict[3][modes[0] - 1, m, n, modes[1] - 1, k, j, modes[2] - 1, p, q] += coeff if p != q: harmonic_dict[3][modes[0] - 1, m, n, modes[1] - 1, j, k, modes[2] - 1, q, p] += coeff if m != n and k != j: harmonic_dict[3][modes[0] - 1, n, m, modes[1] - 1, k, j, modes[2] - 1, p, q] += coeff if m != n and p != q: harmonic_dict[3][modes[0] - 1, n, m, modes[1] - 1, j, k, modes[2] - 1, q, p] += coeff if p != q and k != j: harmonic_dict[3][modes[0] - 1, m, n, modes[1] - 1, k, j, modes[2] - 1, q, p] += coeff if m != n and j != k and p != q: harmonic_dict[3][modes[0] - 1, n, m, modes[1] - 1, k, j, modes[2] - 1, q, p] += coeff else: raise ValueError('Unexpected order value of {}'.format(order)) harmonics = [] # type: List[List[Tuple[List[List[int]], float]]] for idx in range(1, truncation_order + 1): all_indices = np.nonzero(harmonic_dict[idx]) if len(all_indices[0]) != 0: harmonics.append([]) values = harmonic_dict[idx][all_indices] for i in range(len(all_indices[0])): harmonics[- 1].append(([[all_indices[3 * j][i], all_indices[3 * j + 1][i], all_indices[3 * j + 2][i]] for j in range(idx)], values[i])) return harmonics
[ "noreply@github.com" ]
dongreenberg.noreply@github.com
cae3368e7e8e0c5c1919e14f58e1fb7b2e2170bf
d61a6df81bca12df0b743053643bc386d15a4b56
/Exercise05/5-47.py
2a7a135a3f62d27047e4a304ce8bbba0597e3f54
[ "Apache-2.0" ]
permissive
ywyz/IntroducingToProgrammingUsingPython
9108bea2a79f8d24693144dc127aa6b32896121f
614d59eacb7e37aece871a00f7d1518f7de88708
refs/heads/master
2020-04-20T06:29:02.999774
2019-12-22T12:52:46
2019-12-22T12:52:46
168,685,428
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
''' @Date: 2019-11-09 20:43:16 @Author: ywyz @LastModifiedBy: ywyz @Github: https://github.com/ywyz @LastEditors: ywyz @LastEditTime: 2019-11-09 20:52:15 ''' import turtle import random turtle.penup() turtle.goto(-60, 50) turtle.pendown() turtle.forward(120) turtle.right(90) turtle.forward(100) turtle.right(90) turtle.forward(120) turtle.right(90) turtle.forward(100) for n in range(10): x = random.randrange(-60, 60) y = random.randrange(-50, 50) turtle.penup() turtle.goto(x, y) turtle.pendown() turtle.color("red") turtle.begin_fill() turtle.circle(5) turtle.end_fill()
[ "admin@ywyz.tech" ]
admin@ywyz.tech
bf84b41c76f199ac4a4d1f7925cc74e173235f42
783479625e04e8b8628e993e87f1859f92990bab
/sample/integration/original.py
22f8957a81cb6fcb9f7fa2497cdb7f666ca13567
[ "Apache-2.0" ]
permissive
markuswissinger/ducktestpy
83c7e71595df22e305f500af6d21c7d4798be74c
4e9f75edc2bd953f670639a4a4ce9ad10a6a3577
refs/heads/master
2020-04-15T14:00:31.086688
2017-06-06T20:09:14
2017-06-06T20:09:14
58,632,992
4
0
null
null
null
null
UTF-8
Python
false
false
630
py
def generator_example(): yield 1 def non_builtin_example(a): return a def mock_example(a): return a def list_example(a): return a def multi_line_docstring_example(): """ La \ndi dee One Two Three """ return 'Eric the half a bee' def two_line_docstring(): """a b c d e f g Eric the half a bee""" return 1 def single_line_return_value(a): """ :rtype: int """ return 1 def single_line_docstring(a): """One line""" return a def single_result_line(): return 1 def new_docstring(a): return a def no_docstring(): return None
[ "markus.wissinger@gmail.com" ]
markus.wissinger@gmail.com
82d6677e1ce1c352847b67ce087a1bdead816d19
c83bfb7d95bb8745ce9ce6bb2580ea68f6272229
/ideal-pancake/v2/plant_watering_system.py
2d21567fb46749668c7e7f9b00978343fb894261
[]
no_license
ccothran92/ideal-pancake
a9980d088c85fabd555d651a9692db3707a680ce
0c19aefe61c3c4647683baac23ed6c07addb48fc
refs/heads/master
2023-06-09T21:11:40.457509
2021-07-09T20:07:44
2021-07-09T20:07:44
357,001,149
1
0
null
null
null
null
UTF-8
Python
false
false
788
py
from soil_sensor import SoilSensor from plant import Plant from soil import Soil from watering_device import WateringDevice from plant_waterer import PlantWaterer import time SLEEP_TIME_REST = 3600 SLEEP_TIME_WHEN_WATERING = 1 class PlantWateringSystem(object): def __init__(self, plant: Plant, watering_device: WateringDevice, sensor: SoilSensor): self.watering_device = watering_device self.plant_waterer = PlantWaterer(plant, sensor) def start(self): while True: if self.plant_waterer.needs_watering(): self.watering_device.water_my_plants() time.sleep(SLEEP_TIME_WHEN_WATERING) else: self.watering_device.dont_water_my_plants() time.sleep(SLEEP_TIME_REST)
[ "chris@Chriss-MacBook-Pro.local" ]
chris@Chriss-MacBook-Pro.local
f23536b76dfbfbdbd8246d499b2a5780bfdb4b48
ca6844e2301270b5e2d3d99d9ec16892ca4802e4
/app.py
97a4bcb7c2b853ea61d1c2c5ba418f20b924c1d5
[]
no_license
PANhuihuihuihui/covid19Tracker
f8dc931ee3517459fc60671672977e6f2fe7cc2b
537cd4abec809cec91e06f99b8a8ae18c89751e9
refs/heads/master
2023-04-17T06:36:10.447818
2020-05-01T01:15:01
2020-05-01T01:15:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,999
py
###################### # Flask app # Author: Yuting Chen # Uniquename: chyuting ###################### from flask import Flask, render_template, request from gevent.pywsgi import WSGIServer import plotly import plotly.graph_objs as go import os,glob import random import requests import datetime import sqlite3 import crawlCDC import JHU_API app = Flask(__name__) today = crawlCDC.today cache = crawlCDC.open_cache() if cache == {}: # cache file is not updated for file_path in glob.glob('*.json'): cache = crawlCDC.open_cache(file_path) break #crawlCDC.update() #cache = crawlCDC.open_cache() DB_NAME = JHU_API.DB_NAME # built database is required region_list = JHU_API.read_regions() def get_history_data_by_state(state_nm): '''Read a state's detail data from database''' if state_nm in region_list: q = f''' SELECT * FROM Counts JOIN Regions WHERE RegionId = Regions.Id AND RegionName = '{state_nm}' ORDER BY Date DESC ''' conn = sqlite3.connect(DB_NAME) cur = conn.cursor() results = cur.execute(q).fetchall() conn.close() return results def get_bars_by_rating(sortby, chosen_date, orderby, limit): '''Read data with filters from database''' conn = sqlite3.connect(DB_NAME) cur = conn.cursor() q = f''' SELECT RegionName, {sortby} FROM Counts JOIN Regions ON Regions.Id = Counts.RegionId WHERE Date = '{chosen_date}' ORDER BY {sortby} {orderby} LIMIT {limit} ''' results = cur.execute(q).fetchall() conn.close() return results def _percent_rate(results): '''0.01 -> 1%''' r = [] idx = -1 if len(results[0])>9: idx = 9 for res in results: l = list(res) l[idx] = "{:.2%}".format(l[idx]) r.append(tuple(l)) return r def _todate(str): '''a date str -> a date obj''' y,m,d = str.split('-') return datetime.date(year=int(y), month=int(m), day=int(d)) def plot_stacked_bar(cache): ''' Plot stacked bar figure''' tend = cache['date'] x_vals = [_todate(key) for key in tend.keys()] # label (date obj) y1_vals = [tend[key][0]-tend[key][1] for key in tend.keys()] y2_vals = [tend[key][1] for key in tend.keys()] y3_vals = [] dates = [d.isoformat() for d in x_vals] conn = sqlite3.connect(DB_NAME) cur = conn.cursor() q = ''' SELECT Recovered FROM Counts WHERE RegionId = 137 AND Date = ? ''' for d in dates: result = cur.execute(q, [d]).fetchone() if result: y3_vals.append(-int(result[0])) # negative value else: y3_vals.append(0) conn.close() stacked_fig = go.Figure( data=[ go.Bar(name='New cases', x=x_vals, y=y2_vals), go.Bar(name='Accumulated cases', x=x_vals, y=y1_vals), go.Bar(name='Accumulated recovered', x=x_vals, y=y3_vals) ] ) stacked_fig.update_layout(barmode='relative', xaxis={'categoryorder': 'category ascending'}, legend=dict(x=-.1, y=1.2), title={ 'text': "Covid19 in the U.S.", 'y':0.9, 'x':0.5, 'xanchor': 'center', 'yanchor': 'top'}) stacked_fig.write_image('static/acc_new.png') def plot_pie_charts(cache): ''' Plot 3 distribution pie charts''' # distribution by states state = cache['state'] labels, values =[], [] for key,value in state.items(): if key != None and value != 'None': labels.append(key) values.append(value) pie_fig = go.Figure( data=[go.Pie(labels=labels, values=values)] ) pie_fig.update_traces(textposition='inside') pie_fig.update_layout(legend_title='<b> States </b>', legend=dict(x=-.1, y=1.2), uniformtext_minsize=10, uniformtext_mode='hide', title={ 'text': "Distribution by state", 'y':0.9, 'x':0.5, 'xanchor': 'center', 'yanchor': 'top'}) pie_fig.write_image('static/states.png') # distribution by age age = cache['age'] labels = [key for key in age.keys() if key != 'Total'] values = [age[key] for key in labels] pie_fig = go.Figure( data=[go.Pie(labels=labels, values=values)] ) pie_fig.update_traces(textposition='inside') pie_fig.update_layout(legend_title='<b> Age </b>', legend=dict(x=-.1, y=1.2), uniformtext_minsize=10, uniformtext_mode='hide', title={ 'text': "Distribution by age", 'y':0.9, 'x':0.5, 'xanchor': 'center', 'yanchor': 'top'}) pie_fig.write_image('static/age.png') # distribution by race race = cache['race'] labels = [k.split('or')[0] for k in race.keys()] values = [v.split('(')[0] for v in race.values()] pie_fig = go.Figure( data=[go.Pie(labels=labels, values=values)] ) pie_fig.update_traces(textposition='inside') pie_fig.update_layout(legend_title='<b> Race </b>', legend=dict(x=-.1, y=1.2), uniformtext_minsize=10, uniformtext_mode='hide', title={ 'text': "Distribution by race", 'y':0.9, 'x':0.5, 'xanchor': 'center', 'yanchor': 'top'}) pie_fig.write_image('static/race.png') def plot_state(state_nm, data): '''plot total cases and deaths of a state''' x_vals = [i[2] for i in data] # date y1_vals = [i[3] for i in data] # total cases y2_vals = [i[5] for i in data] # total deaths fig = go.Figure( data=[ go.Scatter(name='Accumulated cases', x=x_vals, y=y1_vals, line = dict(width=4, dash='dash')), go.Scatter(name='Deaths', x=x_vals, y=y2_vals, line=dict(width=4, dash='dash')) ] ) print('generating pictures') fig.update_layout(xaxis={'categoryorder': 'category ascending'}, title={ 'text': f"Trend in {state_nm}", 'y':0.9, 'x':0.5, 'xanchor': 'center', 'yanchor': 'top'}) fig.write_image(f'static/{state_nm}1.png') def update_static_images(): '''update static images before deployment''' plot_stacked_bar(cache) plot_pie_charts(cache) for state_nm in cache['state']: data = get_history_data_by_state(state_nm) if data: plot_state(state_nm, data) @app.route('/') def index(): total_cases, total_deaths = cache['today'] last_updated_time = cache['lastupdatedtime'] last_updated_date = last_updated_time.split(' ')[0] m = today.strftime('%B') # 4 -> April d = today.day y = today.year weekday = today.strftime('%A') # Friday state_dict = cache['state'] return render_template('index.html', month=m, year=y, day=d, weekday=weekday, last_updated_date=last_updated_date, last_updated_time=last_updated_time, cases=total_cases, deaths=total_deaths, states=state_dict) @app.route('/results', methods=['POST']) def results(): sortby = request.form['sort'] chosen_date = request.form['chosen_date'] orderby = request.form['dir'] limit = request.form['howmany'] results = get_bars_by_rating(sortby=sortby, chosen_date=chosen_date, orderby=orderby, limit=limit) if sortby == "FatalityRate": results = _percent_rate(results) return render_template('results.html', results = results) @app.route('/state/<state_nm>') def state(state_nm): data = get_history_data_by_state(state_nm) if data: data = _percent_rate(data) return render_template('state.html', nm= state_nm, data= data) else: html = f'''<p> Sorry, No data found for state {state_nm}. Please try again. </p>''' return html if __name__ == '__main__': print('starting Flask app', app.name) # Debug/Develpment mode # update_static_images() # app.run(debug=True) # # Production mode http_server = WSGIServer(('', 5000),app) http_server.serve_forever()
[ "chyuting@umich.edu" ]
chyuting@umich.edu
0ccd22e740ff7e22c60ad57a77e3e3bfd02153e7
4fd983902ed88d89a35689789dcc40c35aa7028d
/ffhome/management/commands/base_scraper.py
b9b0ba525174151701752561a0e28cc7c55a4c9e
[]
no_license
adam2809/FilmFestvalAtHome
32e74c834ca3a85ac304f88da516f404aa59e6af
1095c9b7bec732dcb010d109280ed14d73604b90
refs/heads/master
2020-12-22T13:52:57.854357
2020-05-16T14:07:56
2020-05-16T14:07:56
236,808,104
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
class Film: def __init__(self,name,award,year): self.name = name self.award = award self.year = year def __str___(self): return f'name={self.name}\taward={self.award}\tyear={self.year}' class BaseScraper: # Should return a dict where keys are full names of festivals and values are lists of films of type Film defined above for each festtival def scrape(): pass
[ "adam.kule@gmail.com" ]
adam.kule@gmail.com
e618866e157a9747aeb7626d398e2d74f0f755a3
45c027d8617544c81a1415dad841e7f35fc71d32
/listings/views.py
16121d51079d470568844421058bb7053a52aad7
[]
no_license
khodakhunti22/btre
c4a350b730ca7fe63d164bf6f884396f51ab0fc3
b95cad5b58e15b15c0a420501e416aa374b0afd0
refs/heads/main
2023-06-26T20:57:08.711498
2021-07-10T06:00:29
2021-07-10T06:00:29
384,616,013
1
0
null
null
null
null
UTF-8
Python
false
false
2,280
py
from typing import List from django.db.models.query import QuerySet from django.shortcuts import render, get_object_or_404 from django.http import HttpResponse from django.core.paginator import EmptyPage, Paginator, PageNotAnInteger from . models import Listing from listings.choices import state_choices, bedroom_choices, price_choices def index(request): listings = Listing.objects.order_by('-list_date').filter(is_published=True) paginator = Paginator(listings, 6) page = request.GET.get('page') paged_listings = paginator.get_page(page) context = { 'listings':paged_listings } return render(request, 'listings/listings.html', context) def listing(request, listing_id): listings = Listing.objects.all().filter(is_published=True) listing = get_object_or_404(listings, pk=listing_id) context = { 'listing': listing } return render(request, 'listings/listing.html', context) def search(request): # Keywords queryset = Listing.objects.order_by('-list_date') if 'keywords' in request.GET: keywords = request.GET['keywords'] if keywords: queryset = queryset.filter(destription__icontains=keywords) # City if 'city' in request.GET: city = request.GET['city'] city = request.GET['city'] if city: queryset = queryset.filter(city__iexact=city) # State if 'state' in request.GET: state = request.GET['state'] state = request.GET['state'] if state: queryset = queryset.filter(state__iexact=state) # bedrooms if 'bedrooms' in request.GET: bedrooms = request.GET['bedrooms'] bedrooms = request.GET['bedrooms'] if bedrooms: queryset = queryset.filter(bedrooms__lte=bedrooms) # price if 'price' in request.GET: price = request.GET['price'] price = request.GET['price'] if price: queryset = queryset.filter(price__lte=price) context = { 'price_choices': price_choices, 'bedroom_choices': bedroom_choices, 'state_choices': state_choices, 'listings': queryset, 'values': request.GET } return render(request, 'listings/search.html', context)
[ "ubuntu@ip-172-31-31-246.us-east-2.compute.internal" ]
ubuntu@ip-172-31-31-246.us-east-2.compute.internal
60e0275306acc1f1e4e1d1e7e54ac216f725e9b7
540ed334b689e4b04e4d1f74dfb5564ce3109db4
/Charkaz/esas/migrations/0024_logdata.py
f7a90233237c1e9abc46d3d7eed0e52f10aa338e
[]
no_license
Charkaz/SalesSystem-natamam-
d5b1e1e46d9bbbac677f957cb20337f88283df4c
c9dd85c532163bf875beebd67ff47ec26ac737b9
refs/heads/master
2023-01-20T01:23:15.054698
2020-11-19T10:12:33
2020-11-19T10:12:33
314,207,122
0
0
null
null
null
null
UTF-8
Python
false
false
598
py
# Generated by Django 3.1.2 on 2020-11-13 14:43 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('esas', '0023_qaime_odenis'), ] operations = [ migrations.CreateModel( name='logdata', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('log_ad', models.CharField(blank=True, max_length=50, null=True)), ('tarix', models.DateTimeField(auto_now_add=True)), ], ), ]
[ "alisanc91@gmail.com" ]
alisanc91@gmail.com
f7db2e0843e9da932c66213db2523dcd341550ba
ef7898c285734286ccef0a65c9843bdf031393b1
/Skillset Marketplace/wsgi.py
8986e1b415424d2c8a82d6595d32b12ed8e50b8e
[ "MIT" ]
permissive
sohamsaha77/SkillSet-MarketPlace
e4a505da0bbc99c20903d2851ed4fb368ee08acc
2188ae7f13a8f31feeaffb94fe9682db5f5e77b3
refs/heads/master
2022-04-23T02:03:28.374407
2020-04-28T09:43:56
2020-04-28T09:43:56
256,763,487
0
0
MIT
2020-04-18T14:42:48
2020-04-18T13:41:57
Python
UTF-8
Python
false
false
530
py
""" WSGI config for sixerr project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTINGS_MODULE", "sixerr.settings") application = get_wsgi_application() # Use whitenoise to serve static files on Heroku from whitenoise.django import DjangoWhiteNoise application = DjangoWhiteNoise(application)
[ "noreply@github.com" ]
sohamsaha77.noreply@github.com
b0b411920437b372c2b49e77e7e8ce3028bcc808
e79d1349f10412bd491c9826def10385c65ffbbd
/03-15.py
ecb725b5bf8835dacb635127331f869ba965e061
[]
no_license
drahmuty/Algorithm-Design-Manual
f156a878a510edd5164e56a9fbfb8e2f4c7cce12
d72f963856e6e9e7339a7c09a50d41fba651ef6d
refs/heads/master
2021-06-26T06:32:09.606640
2021-04-22T01:01:30
2021-04-22T01:01:30
220,874,136
2
0
null
null
null
null
UTF-8
Python
false
false
623
py
A = [] B = [] for r in range(0, 100): A[r] = 0 def insert(x, y): y[x] = x def search(x, y): if y[x] == x: return x else: return None def delete(x, y): if search(x, y) is not None: y[x] = None else: return 'not found' # Looked up correct solution and modified it for Python A = [None] * 100 B = [None] * 100 k = 0 def insert(x): global k A[x] = k B[k] = x k = k + 1 return def search(x): global k return A[x] < k and B[A[x]] == x def delete(x): global k k -= 1 A[B[k]] = A[x] B[A[x]] = B[k] return
[ "noreply@github.com" ]
drahmuty.noreply@github.com
f74855e54f0d017d057937d58208d401b769d042
760731d7507fcb93a70a92bc3a6d31e0aba5643a
/plugins/service.library.video/service.library.video/resources/lib/service_entry.py
e4c6b4680416b1e75c267bbbab7e994cffc02ef1
[ "GPL-2.0-only", "MIT" ]
permissive
sebastian-steinmann/kodi-repo
3469fa24fde451e3e60dfc1ec91ba94042f263d7
174791491f692a98df3b37488871a6b4ce832e3a
refs/heads/master
2020-09-27T20:17:15.760530
2019-04-07T07:08:30
2019-04-07T07:08:30
67,059,600
0
0
MIT
2020-02-23T19:20:39
2016-08-31T17:38:35
Python
UTF-8
Python
false
false
438
py
import logging import xbmc class Service(object): """ Root service for sync """ monitor = xbmc.Monitor() log = logging.getLogger("DINGS."+__name__) def __init__(self): pass def update(self): """ Check if any new movies """ if not self.monitor.abortRequested(): self.log.debug("Sjekk for endringer") def shutdown(self): """ cleanup in case of abort """ pass
[ "noreply@github.com" ]
sebastian-steinmann.noreply@github.com
1afcc20d304755a56dca1be299d66ff0b3b07488
2442f5a95c78c9a1f1fe62c1326e0f889f6ece2d
/utilities/simple_web_server.py
74f7b22c763608599958ab67b62d32ed9efe819f
[]
no_license
cousi2344/avida-ed-testing
1bf8f6060b1d5b19b8fe7a4cf8a36c21627a211d
ddf23d83daf9f1b01a46e5bb58cad18d2bb59dca
refs/heads/master
2021-01-22T22:28:33.808357
2018-03-15T19:07:28
2018-03-15T19:07:28
92,776,555
1
0
null
2017-07-12T13:52:06
2017-05-29T21:27:01
Python
UTF-8
Python
false
false
1,406
py
import threading import os from shutil import copyfile from http.server import SimpleHTTPRequestHandler, HTTPServer from base.config import Configuration class CustomWebServer: def __init__(self): """ Initializes a CustomWebServer object. """ self.config = Configuration() self.test_path = os.getcwd() self.chromedriver_path = "\chromedriver.exe" self.ui_path = self.config.get_ui_path() self.server_address = ('127.0.0.1', 8000) self.httpd = HTTPServer(self.server_address, SimpleHTTPRequestHandler) self.full_chromedriver_path = "" def run_http_server(self): """ Creates a basic HTTP server so that the Avida-ED UI can be run locally. :return: None. """ os.chdir(self.ui_path) os.chdir("..") # Move up one more directory self.full_chromedriver_path = os.getcwd() + self.chromedriver_path if not os.path.isfile(self.full_chromedriver_path): copyfile(self.test_path + self.chromedriver_path, self.full_chromedriver_path) threading.Thread(target=self.httpd.serve_forever, daemon=True).start() def cleanup(self): """ Cleans up after the server by changing back to the correct directory. :return: None. """ os.chdir(self.test_path) self.httpd.server_close()
[ "cousi2344@gmail.com" ]
cousi2344@gmail.com
e31e1bb59716bf5cac5673304c2871ad97e473bc
d554a4b063e7474dc10adbd6042608ff39a01d5c
/degc/controller_gnn.py
baeddeda78d1991ad199965aa1d28bb827245f85
[ "MIT" ]
permissive
BokwaiHo/DEGC
47d8da335f9fd03d3c4d5a42c2bc9ab43b342faa
716a16d10103da17499ddc8642802f10c7b599c4
refs/heads/main
2023-04-14T14:20:39.993761
2023-01-26T04:44:00
2023-01-26T04:44:00
593,474,375
29
2
null
null
null
null
UTF-8
Python
false
false
5,539
py
# -*- coding: utf-8 -*- """ Created on Wed Apr 25 18:45:08 2018 @author: Jason """ import numpy as np import tensorflow as tf class PolicyEstimator: """ Policy Function approximator. """ def __init__(self, args, learning_rate=0.01, scope="policy_estimator"): with tf.variable_scope(scope), tf.variable_scope(scope, reuse=tf.AUTO_REUSE): self.args = args self.input_size = args.state_space self.state_space = args.state_space self.hidden_size = args.hidden_size self.num_layers = args.num_layers self.actions_num = args.actions_num self.state = tf.placeholder(dtype=tf.float32, shape=(None,self.state_space), name="states") self.actions = tf.placeholder(dtype=tf.int32, shape=(self.actions_num, ), name="actions") self.target = tf.placeholder(dtype=tf.float32, name="target") # This is just table lookup estimator self.hidden2output_w = tf.Variable(tf.truncated_normal(shape=(self.hidden_size, self.state_space), stddev=0.01)) self.hidden2output_b = tf.Variable(tf.constant(0.1,shape=(self.state_space,))) cell = tf.nn.rnn_cell.MultiRNNCell([tf.nn.rnn_cell.BasicLSTMCell(self.hidden_size) for _ in range(self.num_layers)], state_is_tuple=True) hidden_state = cell.zero_state(1, dtype=tf.float32) inputs = self.state self.outputs = [] with tf.variable_scope("LSTM"): for time_step in range(self.actions_num): (cell_output, hidden_state) = cell(inputs, hidden_state) inputs = tf.nn.softmax(tf.nn.xw_plus_b(cell_output, self.hidden2output_w, self.hidden2output_b)) self.outputs.append(inputs) for time_step in range(self.actions_num): if time_step == 0: picked_action_prob = self.outputs[time_step][0,self.actions[time_step]] else: picked_action_prob = picked_action_prob*self.outputs[time_step][0,self.actions[time_step]] #loss and training op self.loss = -tf.log(picked_action_prob)*self.target self.optimizer = tf.train.AdamOptimizer(learning_rate=args.learning_rate) self.train_op = self.optimizer.minimize( self.loss, global_step=tf.contrib.framework.get_global_step()) def predict(self, state, sess=None): sess = sess if sess else tf.get_default_session() return sess.run(self.outputs, {self.state: state}) def update(self, state, target, actions, sess=None): sess = sess or tf.get_default_session() feed_dict = {self.state: state, self.target: target, self.actions: actions} _, loss = sess.run([self.train_op, self.loss], feed_dict) return loss class ValueEstimator: """ Value Function approximator. """ def __init__(self, args, learning_rate=0.005, scope="value_estimator"): with tf.variable_scope(scope), tf.variable_scope(scope, reuse=tf.AUTO_REUSE): self.state_space = args.state_space self.state = tf.placeholder(dtype=tf.float32, shape=(None, self.state_space), name="states") self.target = tf.placeholder(dtype=tf.float32, name="target") # This is just table lookup estimator self.state = tf.reshape(self.state, shape=(1, self.state_space)) self.output_layer = tf.contrib.layers.fully_connected( inputs=self.state, num_outputs=1, activation_fn=None, weights_initializer=tf.zeros_initializer) self.value_estimate = tf.squeeze(self.output_layer) self.loss = tf.squared_difference(self.value_estimate, self.target) self.optimizer = tf.train.AdamOptimizer(learning_rate=learning_rate) self.train_op = self.optimizer.minimize( self.loss, global_step=tf.contrib.framework.get_global_step()) def predict(self, state, sess=None): sess = sess if sess else tf.get_default_session() return sess.run(self.value_estimate, {self.state: state}) def update(self, state, target, sess=None): sess = sess or tf.get_default_session() feed_dict = { self.state: state, self.target: target } _, loss = sess.run([self.train_op, self.loss], feed_dict) return loss class Controller: def __init__(self, args, scope="Controller"): self.args = args #self.state = np.random.random(size=(1, args.state_space)) self.policy_estimator = PolicyEstimator(args) self.value_estimator = ValueEstimator(args) self.sess = tf.Session() self.sess.run(tf.global_variables_initializer()) def train_controller(self, state, reward): baseline_value = self.value_estimator.predict(state, self.sess) advantage = reward - baseline_value self.value_estimator.update(state, reward, self.sess) self.policy_estimator.update(state, advantage, self.actions, self.sess) def get_actions(self, state): action_probs = self.policy_estimator.predict(state, self.sess) self.actions = [] for i in range(self.args.actions_num): prob = action_probs[i] action = np.random.choice(np.arange(self.args.state_space),p=prob[0]) self.actions.append(action) return self.actions def close_session(self): self.sess.close()
[ "boweihe2-c@my.cityu.edu.hk" ]
boweihe2-c@my.cityu.edu.hk
9626d1af7e4791e3842aaade47f2f09341e089c1
5c8139f1e57e06c7eaf603bd8fe74d9f22620513
/PartA/np_random_permutation.py
06fb8394f942ddc765d854ae411e48f230a80e94
[]
no_license
madeibao/PythonAlgorithm
c8a11d298617d1abb12a72461665583c6a44f9d2
b4c8a75e724a674812b8a38c0202485776445d89
refs/heads/master
2023-04-03T07:18:49.842063
2021-04-11T12:02:40
2021-04-11T12:02:40
325,269,130
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
import numpy as np print(np.random.permutation(10)) # 结果为:[4 1 0 2 8 5 9 6 3 7]
[ "2901429479@qq.com" ]
2901429479@qq.com
bc0adb895c6c7b8e0690f5b7b4a90b7a85fe0446
a510baca1a8df63a1a4a19815c31cc24b5b94ad3
/cmd_controlservers.py
a6d62c5db607f2f33183a021d2b6e88c4a947c32
[ "MIT" ]
permissive
vladgr/DCPanel-sublime
ec3ac04da49ecb5d4521a7b8f07a8a30f9c550a9
fb67b30320e26b949116e56d092c88ee131f6e2f
refs/heads/master
2021-01-10T01:30:27.711524
2017-01-21T14:49:21
2017-01-21T14:49:21
48,988,802
0
0
null
null
null
null
UTF-8
Python
false
false
5,206
py
import re import sublime import sublime_plugin from .tools import Tools from . import core class VControlServersCommand(sublime_plugin.WindowCommand): def init_commands(self): self.cmdtups = [] self.cmdtups.append(('.. {0} {1}'.format( self.server['code'], self.main_ip), '000')) self.cmdtups.append(('Remove known hosts for the IP', '001')) self.cmdtups.append(('Create SSH keys', '002')) self.cmdtups.append(('Create user on remote server', '003')) self.cmdtups.append(('Copy "control script" to remote server', '004')) self.cmdtups.append(('View "control script" logs', '005')) self.cmdtups.append(('Clear "control script" logs', '006')) self.cmds = [tup[0] for tup in self.cmdtups] def onselect_server(self, index): """ip (or ips) copy to Clipboard""" if index == -1: return id = self.servers[index]['id'] self.server = core.Core().get_server_by_id(id) self.main_ip = self.server['main_ip'] sublime.set_clipboard(self.main_ip) message = 'Server: {0}, IP address: {1} copied to clipboard'.format( self.server['code'], self.main_ip) sublime.status_message(message) self.init_commands() Tools.show_quick_panel(self.cmds, self.onselect_cmd) def check_username(self, username): if not re.match('[a-zA-Z0-9]+$', username): sublime.message_dialog('Username is incorrect.') return False return True def onselect_001(self): c = core.Core() Tools.clear() local_user = c.get_local_linux_username() cmd = 'ssh-keygen -f "/home/{0}/.ssh/known_hosts" -R {1}'.format( local_user, self.main_ip) res = c.run_command_in_subprocess(cmd) if res is True: sublime.message_dialog('OK') else: sublime.message_dialog('Error!') def oninput_002(self, remote_user): if self.check_username(remote_user) is False: return c = core.Core() local_user = c.get_local_linux_username() cmd = 'ssh-copy-id -i /home/{0}/.ssh/id_rsa.pub {1}@{2}'.format( local_user, remote_user, self.main_ip) c.run_command_in_terminal(cmd) def oninput_003(self, remote_user): """Creates user on remote host. Generates password for remote user and adds ssh keys. Doesn't store password, because access via ssh keys. On local machine sshpass should be installed. sudo apt-get install sshpass """ if self.check_username(remote_user) is False: return c = core.Core() # ignore error if user exists cmd = 'ssh root@{0} "id -u {1} &>/dev/null' cmd += ' || useradd {1} -d /home/{1} -m"' cmd = cmd.format(self.main_ip, remote_user) res = c.run_command_in_subprocess(cmd) # create password and keys new_password = c.randstring(15) # sudo is important # without sudo: pam_chauthtok() failed, error cmd = 'ssh root@{0} \'echo "{1}:{2}" | sudo chpasswd\''.format( self.main_ip, remote_user, new_password) res = c.run_command_in_subprocess(cmd) if res is False: sublime.message_dialog('Change password error.') return # copy keys to server # run command from current main system user (not sudo) cmd = 'sshpass -p {0} ssh-copy-id -i ~/.ssh/id_rsa.pub {1}@{2}'.format( new_password, remote_user, self.main_ip) c.run_command_in_terminal(cmd) sublime.message_dialog('Done. Try to login to ssh by keys.') def onselect_cmd(self, index): """Runs command for chosen server""" if index == -1: return c = core.Core() tup = self.cmdtups[index] cmd = tup[1] if cmd == '000': self.run() elif cmd == '001': self.onselect_001() elif cmd == '002': Tools.show_input_panel( 'Input username', '', self.oninput_002, None, None) elif cmd == '003': Tools.show_input_panel( 'Input username', '', self.oninput_003, None, None) elif cmd == '004': c.copy_control_to_server(self.server['id']) elif cmd == '005': output = c.view_control_script_logs(self.server['id']) Tools.clear() Tools.showpanel() print(output.decode()) elif cmd == '006': res = c.clear_control_script_logs(self.server['id']) if res is True: sublime.message_dialog('OK') else: sublime.message_dialog('Error!') def run(self, **kw): Tools.clear() self.servers = core.Core().get_servers() l = [] for s in self.servers: if not s['ips']: ip = '---' else: ip = s['ips'][0] l.append('{0} : {1}, ips: {2}'.format( s['code'], ip, len(s['ips']))) Tools.show_quick_panel(l, self.onselect_server)
[ "vladigris@gmail.com" ]
vladigris@gmail.com
ddbd6da647684177e27247cfbc0320dccf56315f
551dabfe10ea6778546f380d3ee9f0500f352b0f
/1.6 Data Split/1.6.2.1.py
755230539a32648d535e948fddd664f504a670e2
[]
no_license
mohamedalemam/sklearn
c32843b6a04fe4b2a326870ba3658e8c1fc3b424
387c21357b165a1bc3593f8303ac5f9a672bd62a
refs/heads/main
2022-12-29T15:38:06.534505
2020-10-17T21:26:59
2020-10-17T21:26:59
301,839,374
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
#Import Libraries from sklearn.model_selection import KFold #---------------------------------------------------- #KFold Splitting data kf = KFold(n_splits=4, random_state=44, shuffle =True) #KFold Data for train_index, test_index in kf.split(X): print('Train Data is : \n', train_index) print('Test Data is : \n', test_index) print('-------------------------------') X_train, X_test = X[train_index], X[test_index] y_train, y_test = y[train_index], y[test_index] print('X_train Shape is ' , X_train.shape) print('X_test Shape is ' , X_test.shape) print('y_train Shape is ' ,y_train.shape) print('y_test Shape is ' , y_test.shape) print('========================================')
[ "noreply@github.com" ]
mohamedalemam.noreply@github.com
7d4f89146113d73f879475edb99a43436599c498
02f92fa37ee2c4450c8fd8ba7f92a8f55f48691f
/views/user.py
6cb5a077cc576f7b7ae599f166ec36b28ce3f21b
[]
no_license
AGL1994/sanic-news
e77d7f8694b92869366d5c783e4233131246d539
798796b0ac4a90317d4a7289cbfd6ecdfde9a463
refs/heads/master
2020-06-12T09:28:23.968237
2019-07-31T02:44:06
2019-07-31T02:44:06
194,257,986
0
0
null
null
null
null
UTF-8
Python
false
false
655
py
from sanic import Blueprint from sanic.response import json from db import objects from models.user import User bp = Blueprint('bp') @bp.route('/user', methods=['POST']) async def create_user_view(request): await objects.create(User, username='admin', password='123456') return json({"hello": "world"}) @bp.route('/user/1', methods=['PUT']) async def create_user_view(request): # user = await objects.get(User, id=1) # user = User() await objects.execute( User.update( username='张三' ).where( id == 1 ) ) # await objects.update(user) return json({"hello": "world"})
[ "agl@AgdeMacBook-Pro.local" ]
agl@AgdeMacBook-Pro.local
81cd42d6ca88e9278fb8c9eb232320b1a6ec463e
5460b02cd47526dc0eed36962aaf958c0021ab34
/rs_analyzer/urls.py
3b370e4c73f12cdc55f7396f302762fc45f8e2aa
[]
no_license
fquiachon/stockentryanalyzer
f99c2c7cd0e60af53e707da10c5c23ff48fdae19
364fb0308e8e14f71ad541d92286693426e2630a
refs/heads/main
2023-02-19T15:13:36.414466
2021-01-14T05:25:02
2021-01-14T05:25:02
326,342,322
2
0
null
2021-01-14T05:25:04
2021-01-03T06:22:26
null
UTF-8
Python
false
false
623
py
from rest_framework import routers from .api import UserViewSet from . import views from django.urls import path, include router = routers.DefaultRouter() router.register('users', UserViewSet, 'users') urlpatterns = [ path('', views.IndexView.as_view(), name='index'), path('', include(router.urls)), path('resistance/<str:ticker>', views.ResistanceView.as_view(), name='resistance'), path('support/<str:ticker>', views.SupportView.as_view(), name='support'), path('resistance', views.ResistanceView.as_view(), name='resistances'), path('support', views.SupportView.as_view(), name='supports'), ]
[ "fquiachon26@gmail.com" ]
fquiachon26@gmail.com
1bb76202345c93a96430e6d954e9f8e763c960ab
3b00f143f858c495df46cf88a27a18bee388c6b6
/Dynamic Programming/edit_distance.py
6e0ae8490c463511868684b515372c7cfc18406a
[]
no_license
deepcpatel/data_structures_and_algorithms
5a4d70e9d74e933a16b132d6701a0dc6b19d9203
2c7849f1e31c5c60924eb70830e524b44306d652
refs/heads/master
2023-01-01T04:47:19.704199
2020-10-27T17:35:48
2020-10-27T17:35:48
307,295,841
0
0
null
null
null
null
UTF-8
Python
false
false
995
py
# Link: https://leetcode.com/problems/edit-distance/ # Not my Solution ''' Explanation: Define dp(i, j) as the minimum number of operations required to convert word1[i:] to word2[j:]. Then we'll get the recursion below: dp(i, j) = dp(i + 1, j + 1) if word1[i] == word2[j] dp(i, j) = 1 + min(dp(i + 1, j + 1), dp(i, j + 1), dp(i + 1, j)) otherwise ''' from functools import lru_cache class Solution: def minDistance(self, word1: str, word2: str) -> int: @lru_cache(None) def dp(i, j): if i >= m: return n - j # insert the rest of word2[j:] elif j >= n: return m - i # delete the rest of word1[i:] if word1[i] == word2[j]: return dp(i + 1, j + 1) # replace, insert, delete, respectively return 1 + min(dp(i + 1, j + 1), dp(i, j + 1), dp(i + 1, j)) m, n = map(len, (word1, word2)) word1, word2 = map(list, (word1, word2)) return dp(0, 0)
[ "deepcpatel@yahoo.in" ]
deepcpatel@yahoo.in
31f40f30e1e72d9ce6d7f3e5b5d2c13c7d0c0503
90913efbd9f52aa6fc9a2de4352b84fafedcae2f
/pic2pdf_one.py
fb74b6dcd7d365f8bc72d3302a3a5e8632d249c0
[]
no_license
hqu-little-boy/pic2pdf
f56eacac2b60a4eed3617f88009c4ab03aabb054
f8c27c32ff5d43cd2ea1e1c17499582ced5d0754
refs/heads/main
2023-07-26T09:28:31.603926
2021-04-21T13:19:00
2021-04-21T13:19:00
360,175,782
0
0
null
null
null
null
UTF-8
Python
false
false
2,709
py
#!/usr/bin/python3 # coding=utf-8 import os import img2pdf # def sort_key(file_name): # prefix = '政宗君的复仇 ' # input("输入文件名前缀:") # suffix = '集' # input("输入文件名后缀:") # file_key = float(file_name.split(prefix)[1].split(suffix)[0]) # return file_key # PATH = input() def get_name(path, prefix, suffix, prefix_exist=True):#获取总文件夹中的每话文件夹,以绝对目录的列表返回 names = [] for name in os.listdir(path): if os.path.isdir(os.path.join(path, name)): names.append(name) if prefix_exist:#如果文件有前缀或后缀 names.sort(key=lambda x: float((x.replace(prefix, "")).replace(suffix, ""))) # names.sort(key=sort_key) # names.sort(key=lambda x: float(x.split('政宗君的复仇 ')[1].split('集')[0])) else: names.sort() return names # print(get_name(PATH)) def get_files(path, name):#获取每话文件夹中的图片,以绝对目录的列表返回 pictures = [] new_path = os.path.join(path, name) for file_name in os.listdir(new_path):#对文件类型判断 if not (file_name.endswith(".jpg") or file_name.endswith(".png") or file_name.endswith(".bmp")): continue else: pictures.append(os.path.join(new_path, file_name)) pictures.sort() return pictures # def make_pdf(pictures): # def make_menu(): # pass def make_one_pdf(name, pictures, out_path):#每话生成单个pdf # out_path = "./漫画单个输出/" if not os.path.exists(out_path): os.mkdir(out_path) with open(os.path.join(out_path, name + ".pdf"), "wb") as one_pdf: one_pdf.write(img2pdf.convert(pictures)) # return one_pdf # def handle_path(): # pass def make_file(path, out_path, prefix, suffix, _bool=False):#汇总前面的函数 # path = input() # path = "/home/zengwang/Downloads/新建文件夹/" names = get_name(path, prefix, suffix, _bool) for name in names: pictures = get_files(path, name) # print(pictures) make_one_pdf(name, pictures, out_path) # print(names) def beep(duration=1, freq=440):#提示音,仅linux可用 # second # Hz os.system('play --no-show-progress --null --channels 1 synth %s sine %f' % (duration, freq)) if __name__ == "__main__": variate_prefix = '政宗君的复仇 ' # input("请输入文件前缀:") variate_suffix = '集' # '#input("请输入文件后缀:") variate_path = "/home/zengwang/Downloads/新建文件夹/" variate_out_path = "./漫画单个输出/" make_file(variate_path, variate_out_path, variate_prefix, variate_suffix) beep()
[ "noreply@github.com" ]
hqu-little-boy.noreply@github.com
6d14682e2d77526d23078389d3796969820a1fe2
52a71ad5a21faf010a1b6a7dc05f5fc61ece486c
/tests/sensors/appleraid/DiskUtilParserTest.py
41066c0b7dcc045812e0ad88f47e10e52fa74d5f
[ "Apache-2.0" ]
permissive
dittert/pyprobe
0aae5ba7a3335360eba2941134ba86833e544a63
1b0d0e403645ed204332c70c8a89e094f860023a
refs/heads/master
2016-09-09T21:37:47.017341
2016-03-05T13:11:14
2016-03-05T13:11:14
20,328,291
0
0
null
null
null
null
UTF-8
Python
false
false
3,523
py
# coding=utf-8 import unittest from pyprobe.sensors.appleraid.raid_info import DiskUtilParser __author__ = 'Dirk Dittert' RAID_CONTENT = """\ Device Identifier: disk3 Device Node: /dev/disk3 Part of Whole: disk3 Device / Media Name: Space Volume Name: Space Escaped with Unicode: Space Mounted: Yes Mount Point: /Volumes/Space Escaped with Unicode: /Volumes/Space File System Personality: Journaled HFS+ Type (Bundle): hfs Name (User Visible): Mac OS Extended (Journaled) Journal: Journal size 114688 KB at offset 0x2baa000 Owners: Enabled Content (IOContent): Apple_HFS OS Can Be Installed: Yes Media Type: Generic Protocol: SATA SMART Status: Not Supported Volume UUID: 8715ECA7-3DEB-375E-8B17-485E6672CA2B Total Size: 1.5 TB (1499957919744 Bytes) (exactly 2929605312 512-Byte-Units) Volume Free Space: 243.2 GB (243187904512 Bytes) (exactly 474976376 512-Byte-Units) Device Block Size: 512 Bytes Read-Only Media: No Read-Only Volume: No Ejectable: No Whole: Yes Internal: Yes Solid State: No OS 9 Drivers: No Low Level Format: Not supported This disk is a RAID Set. RAID Set Information: Set Name: Space RAID Set UUID: E4F03E6C-B6F9-4F37-BDCA-B846218064E2 Level Type: Mirror Status: Online Chunk Count: 45775083 """ NO_RAID_CONTENT = """\ Device Identifier: disk0s2 Device Node: /dev/disk0s2 Part of Whole: disk0 Device / Media Name: SSD Volume Name: SSD Escaped with Unicode: SSD Mounted: Yes Mount Point: / Escaped with Unicode: / File System Personality: Journaled HFS+ Type (Bundle): hfs Name (User Visible): Mac OS Extended (Journaled) Journal: Journal size 81920 KB at offset 0x1d1c000 Owners: Enabled Partition Type: Apple_HFS OS Can Be Installed: Yes Recovery Disk: disk0s3 Media Type: Generic Protocol: SATA SMART Status: Verified Volume UUID: 825CA351-0528-345C-8F72-665A583A9BF7 Total Size: 999.3 GB (999345127424 Bytes) (exactly 1951845952 512-Byte-Units) Volume Free Space: 425.9 GB (425890541568 Bytes) (exactly 831817464 512-Byte-Units) Device Block Size: 512 Bytes Read-Only Media: No Read-Only Volume: No Ejectable: No Whole: No Internal: Yes Solid State: Yes Device Location: "Bay 1" """ class DiskUtilParserTest(unittest.TestCase): def test_parsing_raid_drives_should_work(self): parser = DiskUtilParser(RAID_CONTENT) result = parser.raid_info() self.assertEqual("Space", result.name) self.assertEqual("E4F03E6C-B6F9-4F37-BDCA-B846218064E2", result.uuid) self.assertEqual("Mirror", result.raidtype) self.assertEqual("Online", result.status) def test_parsing_regular_drives_should_work(self): parser = DiskUtilParser(NO_RAID_CONTENT) result = parser.raid_info() self.assertIsNone(result)
[ "dirk.dittert@googlemail.com" ]
dirk.dittert@googlemail.com
74fd6d784ceee09e64040fa35b9d1bd9a89dd47d
929983ad74595ac3a37f7b2c19e2544b31b271ee
/Chinese_Emotion_Analysis/EmotionManager/Modules/load_dic.py
0b443a2bf153642bc2da27eea28ef90ad8bad67c
[]
no_license
kelthzuard/emotion
f1b74fc1bfa0f8d9ccd74717eb410536955d0fa1
ebe3a02da89170d0bee3d5f0a43bfac432a73f27
refs/heads/master
2022-11-14T14:43:03.577044
2020-07-03T07:53:30
2020-07-03T07:53:30
276,841,054
1
0
null
null
null
null
UTF-8
Python
false
false
3,606
py
import xlrd #---------------------------------------------------------------------- # 通用 读取一个文本词典 返回一个内存词典, 其中所有词的 score 一样 # 针对文本词典只含有词语没有分数的情况 #---------------------------------------------------------------------- def load_dic(path, file_name, score): wordDict = {} with open(path+file_name, encoding="utf-8") as fin: for line in fin: word = line.strip() wordDict[word] = score return wordDict #---------------------------------------------------------------------- #传入 上面 函数构造的词典, 向其中附加 另一 score 的 词语 #---------------------------------------------------------------------- def append_dic(wordDict, path, file_name, score): with open(path+file_name, encoding="utf-8") as fin: for line in fin: word = line.strip() wordDict[word] = score #----------------------------------------------------------------------- # 知网词典 程度副词 词典的读取与构造 # para_in : # para_in : # para_out : #----------------------------------------------------------------------- def __get_score__(x): return {0:0.5, 1:0.8 , 2:1.2, 3:1.25, 4:1.5, 5:2}.get(x,0) def load_ext_dic(path, file_name): extent_dic = {} for i in range(6): score = __get_score__(i) with open(path + file_name + str(i + 1) + ".txt", encoding='utf-8') as fin : for line in fin: word = line.strip() extent_dic[word]= score return extent_dic #-------------------------------------------------------------------------------------- # 读取 txt 文件, 每一行包含两项 , 一项是词语, 一项是词语的极值 # para_in: path = 'G:/PyCharm/SentimentNew/Modules/res/dic/extreme_of_word/' # para_in: file_name = 'extreme.txt' # para_out:{'沉醉于': -0.4, '要': 0.48549295774647866, '暗查': -0.4, '陶醉在': 1.95,...} #--------------------------------------------------------------------------------------- def load_extreme_dic(path, file_name): __dic__ = {} with open(path + file_name, 'r', encoding="UTF-8") as f: line = f.readline() while len(line) > 0: li = line.split() __dic__[li[0]] = float(li[1]) line = f.readline() return __dic__ #---------------------------------------------------------------- # 读取 excel 文件 : xlsx 文件, 构建情感词词典 # para_in : path # para_in : file_name # para_out : #---------------------------------------------------------------- def read_xlsx_file(path, file_name): book = xlrd.open_workbook(path + file_name) sh = book.sheet_by_name("Sheet1") list = [] for i in range(1, sh.nrows): list.append(sh.row_values(i)) return list #------------------------------------------------------------------ # time: 2018-1-12 # author: hao # 读取多义词搭配词典, 词典每行3词, 分别为, 形容词, 名词, 分数 # eg: 小 房间 -1 # 大 气味 -1 # ... # # para_in : path # para_in : file_name # para_out: [('小', '房间', -1.0), ('大', '气味', -1.0), ('不好', '通风', -1.0)] #------------------------------------------------------------------- def load_multi_meaning_word_dic(path, file_name): def __get_dic__(): __dic__ = [] return __dic__ dic_list = [] dic = __get_dic__() with open(path + file_name, 'r', encoding='utf-8') as f: line = f.readline() while len(line) > 0: li = line.split() dic.append(li[0]) dic.append(li[1]) dic.append(float(li[2])) tmp = tuple(dic) dic_list.append(tmp) line = f.readline() dic = __get_dic__() return dic_list
[ "a522516259@163.com" ]
a522516259@163.com
5b81e77e32787937decdbb33b22210ad73e99108
1f5c8ab5c61001d5f49d3c7409fcf47b3da35d36
/django/django_orm/dojo_and_ninja/dojo_and_ninja/urls.py
6be9028e2fb95554fef1623daf5f56a37b8890a8
[]
no_license
Mohammad-R-R/python-for-flask
216d773f12d4459e8e2e89738d7b250348b7028a
ffcbe675bf41a4283d732fe82c597ea7ed3936a3
refs/heads/master
2023-05-06T08:58:13.485672
2021-05-30T18:03:33
2021-05-30T18:03:33
366,001,651
0
1
null
null
null
null
UTF-8
Python
false
false
852
py
"""dojo_and_ninja URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based views 1. Add an import: from other_app.views import Home 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home') Including another URLconf 1. Import the include() function: from django.urls import include, path 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) """ from django.urls import path, include # import include # from django.contrib import admin              # comment out, or just delete urlpatterns = [ path('', include('dojo_app.urls')), ]
[ "d.dodo.dode@hotmail.com" ]
d.dodo.dode@hotmail.com
7215342ad719cd58db15232b77161fed026d9444
aa1972e6978d5f983c48578bdf3b51e311cb4396
/mas_nitro-python-1.0/massrc/com/citrix/mas/nitro/resource/config/services/perf/perf_lb_ssl_traffic_report.py
fc21491573e23b5e55686c38164097e8f4b9c5f0
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
MayankTahil/nitro-ide
3d7ddfd13ff6510d6709bdeaef37c187b9f22f38
50054929214a35a7bb19ed10c4905fffa37c3451
refs/heads/master
2020-12-03T02:27:03.672953
2017-07-05T18:09:09
2017-07-05T18:09:09
95,933,896
2
5
null
2017-07-05T16:51:29
2017-07-01T01:03:20
HTML
UTF-8
Python
false
false
10,097
py
''' Copyright (c) 2008-2015 Citrix Systems, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ''' from massrc.com.citrix.mas.nitro.resource.Base import * from massrc.com.citrix.mas.nitro.service.options import options from massrc.com.citrix.mas.nitro.exception.nitro_exception import nitro_exception from massrc.com.citrix.mas.nitro.util.filtervalue import filtervalue from massrc.com.citrix.mas.nitro.resource.Base.base_resource import base_resource from massrc.com.citrix.mas.nitro.resource.Base.base_response import base_response ''' Configuration for LBVServer resource ''' class perf_lb_ssl_traffic_report(base_resource): _sslctxsessionnewrate= "" _vsvrName= "" _sslctxdecbytesrate= "" _timestamp= "" _sslctxsessionhitsrate= "" _sslctxencbytesrate= "" _device_ip_address= "" __count="" ''' get the resource id ''' def get_resource_id(self) : try: if hasattr(self, 'id'): return self.id else: return None except Exception as e : raise e ''' get the resource type ''' def get_object_type(self) : try: return "perf_lb_ssl_traffic_report" except Exception as e : raise e ''' Returns the value of object identifier argument. ''' def get_object_id(self) : try: return None except Exception as e : raise e ''' Returns the value of object file path argument. ''' @property def file_path_value(self) : try: return None except Exception as e : raise e ''' Returns the value of object file component name. ''' @property def file_component_value(self) : try : return "perf_lb_ssl_traffic_reports" except Exception as e : raise e ''' get sslctxsessionnewrate Value ''' @property def sslctxsessionnewrate(self) : try: return self._sslctxsessionnewrate except Exception as e : raise e ''' set sslctxsessionnewrate Value ''' @sslctxsessionnewrate.setter def sslctxsessionnewrate(self,sslctxsessionnewrate): try : if not isinstance(sslctxsessionnewrate,float): raise TypeError("sslctxsessionnewrate must be set to float value") self._sslctxsessionnewrate = sslctxsessionnewrate except Exception as e : raise e ''' get vsvrName Value ''' @property def vsvrName(self) : try: return self._vsvrName except Exception as e : raise e ''' set vsvrName Value ''' @vsvrName.setter def vsvrName(self,vsvrName): try : if not isinstance(vsvrName,str): raise TypeError("vsvrName must be set to str value") self._vsvrName = vsvrName except Exception as e : raise e ''' get sslctxdecbytesrate Value ''' @property def sslctxdecbytesrate(self) : try: return self._sslctxdecbytesrate except Exception as e : raise e ''' set sslctxdecbytesrate Value ''' @sslctxdecbytesrate.setter def sslctxdecbytesrate(self,sslctxdecbytesrate): try : if not isinstance(sslctxdecbytesrate,float): raise TypeError("sslctxdecbytesrate must be set to float value") self._sslctxdecbytesrate = sslctxdecbytesrate except Exception as e : raise e ''' get timestamp in milliseconds ''' @property def timestamp(self) : try: return self._timestamp except Exception as e : raise e ''' set timestamp in milliseconds ''' @timestamp.setter def timestamp(self,timestamp): try : if not isinstance(timestamp,float): raise TypeError("timestamp must be set to float value") self._timestamp = timestamp except Exception as e : raise e ''' get sslctxsessionhitsrate Value ''' @property def sslctxsessionhitsrate(self) : try: return self._sslctxsessionhitsrate except Exception as e : raise e ''' set sslctxsessionhitsrate Value ''' @sslctxsessionhitsrate.setter def sslctxsessionhitsrate(self,sslctxsessionhitsrate): try : if not isinstance(sslctxsessionhitsrate,float): raise TypeError("sslctxsessionhitsrate must be set to float value") self._sslctxsessionhitsrate = sslctxsessionhitsrate except Exception as e : raise e ''' get sslctxencbytesrate Value ''' @property def sslctxencbytesrate(self) : try: return self._sslctxencbytesrate except Exception as e : raise e ''' set sslctxencbytesrate Value ''' @sslctxencbytesrate.setter def sslctxencbytesrate(self,sslctxencbytesrate): try : if not isinstance(sslctxencbytesrate,float): raise TypeError("sslctxencbytesrate must be set to float value") self._sslctxencbytesrate = sslctxencbytesrate except Exception as e : raise e ''' get Device IP Address ''' @property def device_ip_address(self) : try: return self._device_ip_address except Exception as e : raise e ''' set Device IP Address ''' @device_ip_address.setter def device_ip_address(self,device_ip_address): try : if not isinstance(device_ip_address,str): raise TypeError("device_ip_address must be set to str value") self._device_ip_address = device_ip_address except Exception as e : raise e ''' Use this operation to get LB Vserver Information. ''' @classmethod def get(cls,client = None,resource="",option_=""): try: response="" if not resource : perf_lb_ssl_traffic_report_obj=perf_lb_ssl_traffic_report() response = perf_lb_ssl_traffic_report_obj.get_resources(client,option_) else: response = resource.get_resource(client, option_) return response except Exception as e : raise e ''' Use this API to fetch filtered set of perf_lb_ssl_traffic_report resources. filter string should be in JSON format.eg: "vm_state:DOWN,name:[a-z]+" ''' @classmethod def get_filtered(cls,service,filter_) : try: perf_lb_ssl_traffic_report_obj = perf_lb_ssl_traffic_report() option_ = options() option_._filter=filter_ return perf_lb_ssl_traffic_report_obj.getfiltered(service, option_) except Exception as e : raise e ''' * Use this API to count the perf_lb_ssl_traffic_report resources. ''' @classmethod def count(cls,service) : try: perf_lb_ssl_traffic_report_obj = perf_lb_ssl_traffic_report() option_ = options() option_._count=True response = perf_lb_ssl_traffic_report_obj.get_resources(service, option_) if response : return response[0].__dict__['___count'] return 0 except Exception as e : raise e ''' Use this API to count the filtered set of perf_lb_ssl_traffic_report resources. filter string should be in JSON format.eg: "vm_state:DOWN,name:[a-z]+" ''' @classmethod def count_filtered(cls,service,filter_): try: perf_lb_ssl_traffic_report_obj = perf_lb_ssl_traffic_report() option_ = options() option_._count=True option_._filter=filter_ response = perf_lb_ssl_traffic_report_obj.getfiltered(service, option_) if response : return response[0].__dict__['_count'] return 0; except Exception as e : raise e ''' Converts API response into object and returns the object array in case of get request. ''' def get_nitro_response(self,service ,response): try : result=service.payload_formatter.string_to_resource(perf_lb_ssl_traffic_report_response, response, self.__class__.__name__) if(result.errorcode != 0) : if (result.errorcode == 444) : service.clear_session(self) if result.severity : if (result.severity == "ERROR") : raise nitro_exception(result.errorcode, str(result.message), str(result.severity)) else : raise nitro_exception(result.errorcode, str(result.message), str(result.severity)) return result.perf_lb_ssl_traffic_report except Exception as e : raise e ''' Converts API response into object and returns the object array . ''' def get_nitro_bulk_response(self,service ,response): try : result=service.payload_formatter.string_to_resource(perf_lb_ssl_traffic_report_responses, response, "perf_lb_ssl_traffic_report_response_array") if(result.errorcode != 0) : if (result.errorcode == 444) : service.clear_session(self) response = result.perf_lb_ssl_traffic_report_response_array i=0 error = [perf_lb_ssl_traffic_report() for _ in range(len(response))] for obj in response : error[i]= obj._message i=i+1 raise nitro_exception(result.errorcode, str(result.message), error) response = result.perf_lb_ssl_traffic_report_response_array i=0 perf_lb_ssl_traffic_report_objs = [perf_lb_ssl_traffic_report() for _ in range(len(response))] for obj in response : if hasattr(obj,'_perf_lb_ssl_traffic_report'): for props in obj._perf_lb_ssl_traffic_report: result = service.payload_formatter.string_to_bulk_resource(perf_lb_ssl_traffic_report_response,self.__class__.__name__,props) perf_lb_ssl_traffic_report_objs[i] = result.perf_lb_ssl_traffic_report i=i+1 return perf_lb_ssl_traffic_report_objs except Exception as e : raise e ''' Performs generic data validation for the operation to be performed ''' def validate(self,operationType): try: super(perf_lb_ssl_traffic_report,self).validate() except Exception as e : raise e ''' Forms the proper response. ''' class perf_lb_ssl_traffic_report_response(base_response): def __init__(self,length=1) : self.perf_lb_ssl_traffic_report= [] self.errorcode = 0 self.message = "" self.severity = "" self.perf_lb_ssl_traffic_report= [ perf_lb_ssl_traffic_report() for _ in range(length)] ''' Forms the proper response for bulk operation. ''' class perf_lb_ssl_traffic_report_responses(base_response): def __init__(self,length=1) : self.perf_lb_ssl_traffic_report_response_array = [] self.errorcode = 0 self.message = "" self.perf_lb_ssl_traffic_report_response_array = [ perf_lb_ssl_traffic_report() for _ in range(length)]
[ "Mayank@Mandelbrot.local" ]
Mayank@Mandelbrot.local
3c59334424214ef3046ff01065e1495d2c0bfcc3
bb0ce35a7451f6202ae040789a718ed2c2d77650
/usr/local/hsagccver/hsagcc.230184/lib64/libstdc++.so.6.0.22-gdb.py
f5a7d07e018cc86a171844a3990b6666f1949625
[]
no_license
yyzreal/HSA-OpenMP-GCC-AMD
e994344822ad5b48ae084d65b4cff59d5bcfe3f6
7132d1c12868fa7e6b284313f1db14f1d668b006
refs/heads/master
2021-01-18T03:59:31.013080
2015-12-04T22:08:52
2015-12-04T22:08:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,253
py
# -*- python -*- # Copyright (C) 2009-2015 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. import sys import gdb import os import os.path pythondir = '/usr/local/hsagccver/hsagcc.230184/share/gcc-6.0.0-hsa-rev-230184/python' libdir = '/usr/local/hsagccver/hsagcc.230184/lib/../lib64' # This file might be loaded when there is no current objfile. This # can happen if the user loads it manually. In this case we don't # update sys.path; instead we just hope the user managed to do that # beforehand. if gdb.current_objfile () is not None: # Update module path. We want to find the relative path from libdir # to pythondir, and then we want to apply that relative path to the # directory holding the objfile with which this file is associated. # This preserves relocatability of the gcc tree. # Do a simple normalization that removes duplicate separators. pythondir = os.path.normpath (pythondir) libdir = os.path.normpath (libdir) prefix = os.path.commonprefix ([libdir, pythondir]) # In some bizarre configuration we might have found a match in the # middle of a directory name. if prefix[-1] != '/': prefix = os.path.dirname (prefix) + '/' # Strip off the prefix. pythondir = pythondir[len (prefix):] libdir = libdir[len (prefix):] # Compute the ".."s needed to get from libdir to the prefix. dotdots = ('..' + os.sep) * len (libdir.split (os.sep)) objfile = gdb.current_objfile ().filename dir_ = os.path.join (os.path.dirname (objfile), dotdots, pythondir) if not dir_ in sys.path: sys.path.insert(0, dir_) import libstdcxx.v6
[ "grodgers@purdue.edu" ]
grodgers@purdue.edu
9a135548416b9220de2dc9cb88029ff3e59bfa1c
03d1807437bc5792a58693211d23c84a66cc3e2e
/Notas/04Visualization with Matpoltlib and Pandas/02matplotlibBasics.py
74bee808f5f17d6449bf8cc3d58b51f2bed860b9
[]
no_license
ppla2001/Python-Finance
60f4df74d5653a7ca5eb0c223dd45381b523282e
58657d277cc48fc9af2532ae8bc5ba81137bf9a6
refs/heads/master
2023-03-30T17:14:01.551178
2021-04-03T17:52:23
2021-04-03T17:52:23
335,708,191
0
0
null
null
null
null
UTF-8
Python
false
false
3,397
py
#%% import matplotlib.pyplot as plt import numpy as np #%% x = np.linspace(0,5,11) y = x**2 #%% x #%% y #%% #Functional Method plt.plot(x,y) #se le puede poner caracteristicas de matplotlib despues de las variables, ej: 'r-', me hace la linea roja plt.xlabel('X Label') #poner nombre al eje x plt.ylabel('Y Label') #poner nombre al eje y plt.title('Title') #poner titulo plt.show() #cuando uso jupyter no hace falta que ponga esta parte del codigo # %% #Subplot, creating multiple plots at once plt.subplot(1,2,1) #number of rows, number of colums, plot number reffering to plt.plot(x,y,'r') plt.subplot(1,2,2) plt.plot(y,x,'b') # %% #Object Oriented API Method fig = plt.figure() axes = fig.add_axes([0.1,0.1,0.8,0.8]) #add_axes([left,bottom,widht,height]) axes.plot(x,y) axes.set_xlabel('X Label') axes.set_ylabel('Y Label') axes.set_title('Title') # %% fig = plt.figure() axes1 = fig.add_axes([0.1,0.1,0.8,0.8]) axes2 = fig.add_axes([0.2,0.5,0.4,0.3]) #cambiando los primeros dos numeros me cambia el segundo grafico de lugar, los segundos dos me dicen cuanto ocupa en termino de ancho y alto axes1.plot(x,y) axes1.set_title('Bigger Plot') axes2.plot(y,x) axes2.set_title('Smaller Plot') # %% #Subplot Object Oriented fig,axes = plt.subplots(nrows=3,ncols=3) #nrows,ncols, te dice cuantos subplots hay plt.tight_layout() #Hace q no se overlap la info de los graficos # %% fig,axes = plt.subplots(nrows=1,ncols=2) #Para plotear en todos los graficos for current_axes in axes: current_axes.plot(x,y) # %% fig,axes = plt.subplots(nrows=1,ncols=2) #Para plotear en algun grafico en especifico axes[0].plot(x,y) axes[0].set_title('First Plot') axes[1].plot(y,x) axes[1].set_title('Second Plot') plt.tight_layout() # %% #Figure Size and DPI fig = plt.figure(figsize=(3,2)) #figsize=() widht and height of figure in inches, dpi= dots per inch ax = fig.add_axes([0,0,1,1]) ax.plot(x,y) # %% fig,axes = plt.subplots(nrows=2,ncols=1,figsize=(8,2)) axes[0].plot(x,y) axes[1].plot(y,x) plt.tight_layout() # %% #Save a figure fig.savefig('my_picture.png',dpi=200) # %% fig = plt.figure() ax = fig.add_axes([0,0,1,1]) ax.plot(x,x**2,label='X Squared') ax.plot(x,x**3,label='X Cubed') ax.legend(loc='best') #checks if there is a label for each plot and matches labels with line, loc= es la location q quiero q esten las labels # %% #Plot Appearance fig = plt.figure() ax = fig.add_axes([0,0,1,1]) ax.plot(x,y,color='#FF8C00',linewidth=3,alpha=0.5) #color toma strings o rgb hex codes, alpha es la transparencia # %% fig = plt.figure() ax = fig.add_axes([0,0,1,1]) ax.plot(x,y,color='purple',lw=3,linestyle='--') #Jupyter notebook para ver cuales linestyle hay # %% fig = plt.figure() ax = fig.add_axes([0,0,1,1]) ax.plot(x,y,color='#FF8C00',lw=3,ls='-',marker='o', markersize=10,markerfacecolor='yellow', markeredgewidth=3,markeredgecolor='green') #Jupyter notebook para ver cuales markers hay # %% #Setear de donde a donde quiero ver el graph (ZOOM) fig = plt.figure() ax = fig.add_axes([0,0,1,1]) ax.plot(x,y,color='#FF8C00',lw=3,ls='--') ax.set_xlim([0,1]) #lower bound to upper bound ax.set_ylim([0,2]) # %% #Special Plot Types plt.scatter(x,y) # %% from random import sample data = sample(range(1, 1000), 100) plt.hist(data) # %% data = [np.random.normal(0, std, 100) for std in range(1, 4)] # rectangular box plot plt.boxplot(data,vert=True,patch_artist=True); # %%
[ "ppla2001@gmail.com" ]
ppla2001@gmail.com
43ba913c70331d51aa0aafeb8c0e580920ea5b9c
a69db839216e0f8077801ce4a18ae656e9530f8d
/ether.py
e48ac4f276da77cfe98e68bade39f236eb414532
[ "Apache-2.0" ]
permissive
CopticScriptorium/ethercalc-tools
080c5f065c22085e1566fc3f1187f095e7ef8c23
8e818041cc5b532dad3c30114261f6416e0e54b6
refs/heads/master
2016-08-13T01:49:35.231983
2015-12-15T15:49:01
2015-12-15T15:49:01
48,052,719
0
0
null
null
null
null
UTF-8
Python
false
false
3,420
py
#!/usr/bin/python # -*- coding: utf-8 -*- """ This script takes CWB-SGML format input and outputs EtherCalc/SocialCalc spreadsheet data Author: Amir Zeldes """ import re from collections import defaultdict from collections import OrderedDict import cgi __version__ = "1.0.0" data = "" storage = cgi.FieldStorage() if "data" in storage: data = storage.getvalue("data") else: data = "" data = re.sub('>','>\n',data) data = re.sub('</','\n</',data) data = re.sub('\n+','\n',data) def flush_open(annos, row_num, colmap): flushed = "" for anno in annos: element, name, value = anno flushed += "cell:"+colmap[name] + str(row_num) + ":t:" + value + "\n" return flushed def flush_close(closing_element, last_value, last_start, row_num, colmap): flushed = "" for alias in aliases[closing_element]: if last_start[alias] < row_num - 1: span_string = ":rowspan:" + (row_num - last_start[alias]) else: span_string = "" flushed += "cell:" + colmap[alias] + str(last_start[alias]) + ":t:" + last_value[alias]+span_string + ":f:1\n" return flushed def number_to_letter(number): if number < 27: return chr(number + ord('a')-1).upper() else: return None current_row = 2 open_annos = defaultdict(list) close_annos = [] aliases = defaultdict(list) last_value = {} last_start = {} colmap = OrderedDict() maxcol = 1 preamble = """socialcalc:version:1.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave --SocialCalcSpreadsheetControlSave Content-type: text/plain; charset=UTF-8 # SocialCalc Spreadsheet Control Save version:1.0 part:sheet part:edit part:audit --SocialCalcSpreadsheetControlSave Content-type: text/plain; charset=UTF-8 version:1.5 """ output = "" for line in data.split("\n"): line = line.strip() line = line.replace(":","\\c") if line.startswith("<?") or line.endswith("/>"): # Skip unary tags and XML instructions pass elif line.startswith("</"): # Closing tag my_match = re.match("</([^>]+)>",line) element = my_match.groups(0)[0] output+=flush_close(element, last_value, last_start, current_row, colmap) elif line.startswith("<"): #opening tag my_match = re.match("<([^ >]+)[ >]",line) element = my_match.groups(0)[0] if "=" not in line: line = "<" + element + " " + element + '="' + element + '">' my_match = re.findall('([^" =]+)="([^"]+)"',line) anno_name = "" anno_value = "" for match in my_match: anno_name = match[0] anno_value = match[1] open_annos[current_row].append((anno_name,anno_value)) last_value[anno_name] = anno_value last_start[anno_name] = current_row if element not in aliases: aliases[element] = [anno_name] elif anno_name not in aliases[element]: aliases[element].append(anno_name) if anno_name not in colmap: maxcol +=1 colmap[anno_name] = number_to_letter(maxcol) elif len(line)>0: # Token token = line.strip() output += "cell:A"+str(current_row)+":t:"+token+":f:1\n" current_row +=1 else: # Empty line current_row +=1 print "Content-type: text/plain; charset=UTF-8\n" print preamble print "cell:A1:t:tok:f:2" for header in colmap: print "cell:"+colmap[header]+"1:t:"+header+":f:2" print output print "sheet:c:" + str(maxcol) + ":r:" + str(current_row) + ":tvf:1" print """ font:1:* * Antinoou font:2:normal bold * * valueformat:1:text-wiki --SocialCalcSpreadsheetControlSave Content-type: text/plain; charset=UTF-8 """
[ "az364@LING-R9011CKZ.georgetown.mei.georgetown.edu" ]
az364@LING-R9011CKZ.georgetown.mei.georgetown.edu
4ad9a416fd77d82ec0612170cdaf8547166999c8
15f04ad0b0578b7370d38b888f96ad7ab829cbae
/interface/abstract.py
d207eadf278ec81cd20e8cec487264061436e7da
[]
no_license
DK-droid/mental
24986e37a151076c13e5a8c027267d2a9637cceb
624b6cbbb5bc4d004a4fc8bfa36a83bbd962b309
refs/heads/master
2020-08-02T17:59:39.981593
2019-09-29T06:36:33
2019-09-29T06:36:33
211,456,547
0
0
null
2019-09-29T04:32:13
2019-09-28T06:41:33
null
UTF-8
Python
false
false
642
py
from abc import ABC, abstractmethod class Subject(ABC): @abstractmethod def registerObserver(): pass @abstractmethod def removeObserver(): pass @abstractmethod def notifyObservers(): pass @abstractmethod def notifyObserver(): pass class Observer(ABC): @abstractmethod #обновление данных для себя def update(): pass @abstractmethod #запрос на получение данных def request(): pass @abstractmethod #выгрузка данных объекту def upload(): pass class DisplayElement(ABC): @abstractmethod def display(): pass
[ "noreply@github.com" ]
DK-droid.noreply@github.com
11a8c3e2c246bc025bd13fe1fa5beabf65e35839
f91f3e1f1a0976f131cd60a7d48f9e8855837924
/help/views.py
822cbc2cc3b8a46e2341727aebae29f67580e20d
[]
no_license
raisok/GSE_Web
ec6a8d4b21db56b9832c260b07eed48afa3d04da
78ef1a91c977b3b34e859548f577d3d146167853
refs/heads/master
2020-12-06T10:55:43.572667
2020-04-21T00:27:31
2020-04-21T00:27:31
232,445,906
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
from django.shortcuts import render # Create your views here. def index(request): return render(request, 'help.html', {'title': "系统生物学平台"})
[ "raisok@github.com" ]
raisok@github.com
ed617556fb90a2bcacc41fc0dd07aad3bf86d7ba
71f00ed87cd980bb2f92c08b085c5abe40a317fb
/Data/GoogleCloud/google-cloud-sdk/data/cli/gcloud_completions.py
c93dd5a72968127b9526867a954447386eb4b703
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
factoryofthesun/Rao-NLP
2bd8269a8eed1cb352c14c8fde88e3111ccca088
87f9723f5ee51bd21310d58c3425a2a7271ec3c5
refs/heads/master
2023-04-18T08:54:08.370155
2020-06-09T23:24:07
2020-06-09T23:24:07
248,070,291
0
1
null
2021-04-30T21:13:04
2020-03-17T20:49:03
Python
UTF-8
Python
false
false
1,941,962
py
# -*- coding: utf-8 -*- # """Cloud SDK static completion CLI tree.""" # pylint: disable=line-too-long,bad-continuation STATIC_COMPLETION_CLI_TREE = { "commands": { "access-context-manager": { "commands": { "levels": { "commands": { "conditions": { "commands": { "list": { "commands": {}, "flags": { "--level": "value", "--policy": "value" } } }, "flags": {} }, "create": { "commands": {}, "flags": { "--async": "bool", "--basic-level-spec": "value", "--combine-function": [ "and", "or" ], "--description": "value", "--policy": "value", "--title": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--policy": "value" } }, "describe": { "commands": {}, "flags": { "--policy": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--policy": "value", "--sort-by": "value" } }, "update": { "commands": {}, "flags": { "--basic-level-spec": "value", "--combine-function": [ "and", "or" ], "--description": "value", "--policy": "value", "--title": "value" } } }, "flags": {} }, "perimeters": { "commands": { "create": { "commands": {}, "flags": { "--access-levels": "value", "--async": "bool", "--description": "value", "--perimeter-type": [ "bridge", "regular" ], "--policy": "value", "--resources": "value", "--restricted-services": "value", "--title": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--policy": "value" } }, "describe": { "commands": {}, "flags": { "--policy": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--policy": "value", "--sort-by": "value" } }, "update": { "commands": {}, "flags": { "--add-access-levels": "value", "--add-resources": "value", "--add-restricted-services": "value", "--clear-access-levels": "bool", "--clear-resources": "bool", "--clear-restricted-services": "bool", "--description": "value", "--policy": "value", "--remove-access-levels": "value", "--remove-resources": "value", "--remove-restricted-services": "value", "--set-access-levels": "value", "--set-resources": "value", "--set-restricted-services": "value", "--title": "value", "--type": [ "bridge", "regular" ] } } }, "flags": {} }, "policies": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--organization": "value", "--title": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--organization": "value", "--page-size": "value", "--sort-by": "value" } }, "update": { "commands": {}, "flags": { "--title": "value" } } }, "flags": {} } }, "flags": {} }, "active-directory": { "commands": { "domains": { "commands": { "create": { "commands": {}, "flags": { "--admin-name": "value", "--async": "bool", "--authorized-networks": "value", "--labels": "value", "--region": "value", "--reserved-ip-range": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool" } }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "reset-admin-password": { "commands": {}, "flags": {} }, "set-iam-policy": { "commands": {}, "flags": {} }, "trusts": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--direction": [ "bidirectional", "inbound", "outbound", "trust-direction-unspecified" ], "--handshake-secret": "value", "--selective-authentication": "bool", "--target-dns-ip-addresses": "value", "--target-domain-name": "value", "--type": [ "external", "forest", "trust-type-unspecified" ] } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--target-domain-name": "value" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--target-dns-ip-addresses": "value", "--target-domain-name": "value" } }, "validate-state": { "commands": {}, "flags": { "--async": "bool", "--target-domain-name": "value" } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--add-authorized-networks": "value", "--add-region": "value", "--async": "bool", "--clear-labels": "bool", "--remove-authorized-networks": "value", "--remove-labels": "value", "--remove-region": "value", "--update-labels": "value" } } }, "flags": {} }, "operations": { "commands": { "cancel": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} } }, "flags": {} }, "ai-platform": { "commands": { "jobs": { "commands": { "cancel": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": { "--summarize": "bool" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "stream-logs": { "commands": {}, "flags": { "--allow-multiline-logs": "bool", "--polling-interval": "value", "--task-name": "value" } }, "submit": { "commands": { "prediction": { "commands": {}, "flags": { "--batch-size": "value", "--data-format": [ "text", "tf-record", "tf-record-gzip" ], "--input-paths": "value", "--labels": "value", "--max-worker-count": "value", "--model": "value", "--model-dir": "value", "--output-path": "value", "--region": "value", "--runtime-version": "value", "--signature-name": "value" } }, "training": { "commands": {}, "flags": { "--async": "bool", "--config": "value", "--job-dir": "value", "--labels": "value", "--master-accelerator": "value", "--master-image-uri": "value", "--master-machine-type": "value", "--module-name": "value", "--package-path": "value", "--packages": "value", "--parameter-server-accelerator": "value", "--parameter-server-count": "value", "--parameter-server-image-uri": "value", "--parameter-server-machine-type": "value", "--python-version": "value", "--region": "dynamic", "--runtime-version": "value", "--scale-tier": [ "basic", "basic-gpu", "basic-tpu", "custom", "premium-1", "standard-1" ], "--staging-bucket": "value", "--stream-logs": "bool", "--use-chief-in-tf-config": "value", "--worker-accelerator": "value", "--worker-count": "value", "--worker-image-uri": "value", "--worker-machine-type": "value" } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "local": { "commands": { "predict": { "commands": {}, "flags": { "--framework": [ "scikit-learn", "tensorflow", "xgboost" ], "--json-instances": "value", "--model-dir": "value", "--signature-name": "value", "--text-instances": "value" } }, "train": { "commands": {}, "flags": { "--distributed": "bool", "--evaluator-count": "value", "--job-dir": "value", "--module-name": "value", "--package-path": "value", "--parameter-server-count": "value", "--start-port": "value", "--worker-count": "value" } } }, "flags": {} }, "models": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--description": "value", "--enable-logging": "bool", "--labels": "value", "--regions": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "value" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--description": "value", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "operations": { "commands": { "cancel": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "wait": { "commands": {}, "flags": {} } }, "flags": {} }, "predict": { "commands": {}, "flags": { "--json-instances": "value", "--model": "value", "--signature-name": "value", "--text-instances": "value" } }, "versions": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--config": "value", "--description": "value", "--framework": [ "scikit-learn", "tensorflow", "xgboost" ], "--labels": "value", "--model": "value", "--origin": "value", "--python-version": "value", "--runtime-version": "value", "--staging-bucket": "value" } }, "delete": { "commands": {}, "flags": { "--model": "value" } }, "describe": { "commands": {}, "flags": { "--model": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--model": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "set-default": { "commands": {}, "flags": { "--model": "value" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--description": "value", "--model": "value", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} } }, "flags": {} }, "alpha": { "commands": { "access-approval": { "commands": { "requests": { "commands": { "approve": { "commands": {}, "flags": {} }, "dismiss": { "commands": {}, "flags": {} }, "get": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--folder": "value", "--limit": "value", "--organization": "value", "--page-size": "value", "--sort-by": "value", "--state": "value" } } }, "flags": {} }, "settings": { "commands": { "delete": { "commands": {}, "flags": { "--folder": "value", "--organization": "value" } }, "get": { "commands": {}, "flags": { "--folder": "value", "--organization": "value" } }, "update": { "commands": {}, "flags": { "--enrolled_services": "value", "--folder": "value", "--notification_emails": "value", "--organization": "value" } } }, "flags": {} } }, "flags": {} }, "access-context-manager": { "commands": { "levels": { "commands": { "conditions": { "commands": { "list": { "commands": {}, "flags": { "--level": "value", "--policy": "value" } } }, "flags": {} }, "create": { "commands": {}, "flags": { "--async": "bool", "--basic-level-spec": "value", "--combine-function": [ "and", "or" ], "--custom-level-spec": "value", "--description": "value", "--policy": "value", "--title": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--policy": "value" } }, "describe": { "commands": {}, "flags": { "--policy": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--policy": "value", "--sort-by": "value" } }, "replace-all": { "commands": {}, "flags": { "--etag": "value", "--source-file": "value" } }, "update": { "commands": {}, "flags": { "--basic-level-spec": "value", "--combine-function": [ "and", "or" ], "--custom-level-spec": "value", "--description": "value", "--policy": "value", "--title": "value" } } }, "flags": {} }, "perimeters": { "commands": { "create": { "commands": {}, "flags": { "--access-levels": "value", "--async": "bool", "--description": "value", "--enable-vpc-accessible-services": "bool", "--perimeter-type": [ "bridge", "regular" ], "--policy": "value", "--resources": "value", "--restricted-services": "value", "--title": "value", "--vpc-allowed-services": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--policy": "value" } }, "describe": { "commands": {}, "flags": { "--policy": "value" } }, "dry-run": { "commands": { "commit": { "commands": {}, "flags": { "--etag": "value", "--policy": "value" } }, "create": { "commands": {}, "flags": { "--access-levels": "value", "--async": "bool", "--enable-vpc-accessible-services": "bool", "--perimeter-access-levels": "value", "--perimeter-description": "value", "--perimeter-enable-vpc-accessible-services": "bool", "--perimeter-resources": "value", "--perimeter-restricted-services": "value", "--perimeter-title": "value", "--perimeter-type": "value", "--perimeter-vpc-allowed-services": "value", "--policy": "value", "--resources": "value", "--restricted-services": "value", "--vpc-allowed-services": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--policy": "value" } }, "describe": { "commands": {}, "flags": { "--policy": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--policy": "value", "--sort-by": "value" } }, "reset": { "commands": {}, "flags": { "--async": "bool", "--policy": "value" } }, "update": { "commands": {}, "flags": { "--add-access-levels": "value", "--add-resources": "value", "--add-restricted-services": "value", "--add-vpc-allowed-services": "value", "--async": "bool", "--clear-access-levels": "bool", "--clear-resources": "bool", "--clear-restricted-services": "bool", "--clear-vpc-allowed-services": "bool", "--enable-vpc-accessible-services": "bool", "--policy": "value", "--remove-access-levels": "value", "--remove-resources": "value", "--remove-restricted-services": "value", "--remove-vpc-allowed-services": "value" } } }, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--policy": "value", "--sort-by": "value" } }, "replace-all": { "commands": {}, "flags": { "--etag": "value", "--source-file": "value" } }, "update": { "commands": {}, "flags": { "--add-access-levels": "value", "--add-resources": "value", "--add-restricted-services": "value", "--add-vpc-allowed-services": "value", "--clear-access-levels": "bool", "--clear-resources": "bool", "--clear-restricted-services": "bool", "--clear-vpc-allowed-services": "bool", "--description": "value", "--enable-vpc-accessible-services": "bool", "--policy": "value", "--remove-access-levels": "value", "--remove-resources": "value", "--remove-restricted-services": "value", "--remove-vpc-allowed-services": "value", "--set-access-levels": "value", "--set-resources": "value", "--set-restricted-services": "value", "--title": "value", "--type": [ "bridge", "regular" ] } }, "update-dry-run-config": { "commands": {}, "flags": { "--add-access-levels": "value", "--add-resources": "value", "--add-restricted-services": "value", "--add-vpc-allowed-services": "value", "--clear": "bool", "--clear-access-levels": "bool", "--clear-resources": "bool", "--clear-restricted-services": "bool", "--clear-vpc-allowed-services": "bool", "--enable-vpc-accessible-services": "bool", "--policy": "value", "--remove-access-levels": "value", "--remove-resources": "value", "--remove-restricted-services": "value", "--remove-vpc-allowed-services": "value" } } }, "flags": {} }, "policies": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--organization": "value", "--title": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--organization": "value", "--page-size": "value", "--sort-by": "value" } }, "update": { "commands": {}, "flags": { "--title": "value" } } }, "flags": {} } }, "flags": {} }, "active-directory": { "commands": { "domains": { "commands": { "create": { "commands": {}, "flags": { "--admin-name": "value", "--async": "bool", "--authorized-networks": "value", "--labels": "value", "--region": "value", "--reserved-ip-range": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool" } }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "reset-admin-password": { "commands": {}, "flags": {} }, "set-iam-policy": { "commands": {}, "flags": {} }, "trusts": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--direction": [ "bidirectional", "inbound", "outbound", "trust-direction-unspecified" ], "--handshake-secret": "value", "--selective-authentication": "bool", "--target-dns-ip-addresses": "value", "--target-domain-name": "value", "--type": [ "external", "forest", "trust-type-unspecified" ] } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--target-domain-name": "value" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--target-dns-ip-addresses": "value", "--target-domain-name": "value" } }, "validate-state": { "commands": {}, "flags": { "--async": "bool", "--target-domain-name": "value" } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--add-authorized-networks": "value", "--add-region": "value", "--async": "bool", "--clear-labels": "bool", "--remove-authorized-networks": "value", "--remove-labels": "value", "--remove-region": "value", "--update-labels": "value" } } }, "flags": {} }, "operations": { "commands": { "cancel": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} } }, "flags": {} }, "ai-platform": { "commands": { "explain": { "commands": {}, "flags": { "--json-instances": "value", "--model": "value", "--text-instances": "value" } }, "jobs": { "commands": { "cancel": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": { "--summarize": "bool" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "stream-logs": { "commands": {}, "flags": { "--allow-multiline-logs": "bool", "--polling-interval": "value", "--task-name": "value" } }, "submit": { "commands": { "prediction": { "commands": {}, "flags": { "--accelerator-count": "value", "--accelerator-type": [ "nvidia-tesla-k80", "nvidia-tesla-p100" ], "--batch-size": "value", "--data-format": [ "text", "tf-record", "tf-record-gzip" ], "--input-paths": "value", "--labels": "value", "--max-worker-count": "value", "--model": "value", "--model-dir": "value", "--output-path": "value", "--region": "value", "--runtime-version": "value", "--signature-name": "value" } }, "training": { "commands": {}, "flags": { "--async": "bool", "--config": "value", "--job-dir": "value", "--labels": "value", "--master-accelerator": "value", "--master-image-uri": "value", "--master-machine-type": "value", "--module-name": "value", "--package-path": "value", "--packages": "value", "--parameter-server-accelerator": "value", "--parameter-server-count": "value", "--parameter-server-image-uri": "value", "--parameter-server-machine-type": "value", "--python-version": "value", "--region": "dynamic", "--runtime-version": "value", "--scale-tier": [ "basic", "basic-gpu", "basic-tpu", "custom", "premium-1", "standard-1" ], "--staging-bucket": "value", "--stream-logs": "bool", "--tpu-tf-version": "value", "--use-chief-in-tf-config": "value", "--worker-accelerator": "value", "--worker-count": "value", "--worker-image-uri": "value", "--worker-machine-type": "value" } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "local": { "commands": { "predict": { "commands": {}, "flags": { "--framework": [ "scikit-learn", "tensorflow", "xgboost" ], "--json-instances": "value", "--model-dir": "value", "--signature-name": "value", "--text-instances": "value" } }, "train": { "commands": {}, "flags": { "--distributed": "bool", "--evaluator-count": "value", "--job-dir": "value", "--module-name": "value", "--package-path": "value", "--parameter-server-count": "value", "--start-port": "value", "--worker-count": "value" } } }, "flags": {} }, "locations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "models": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--description": "value", "--enable-console-logging": "bool", "--enable-logging": "bool", "--labels": "value", "--regions": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "value" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--description": "value", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "operations": { "commands": { "cancel": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "wait": { "commands": {}, "flags": {} } }, "flags": {} }, "predict": { "commands": {}, "flags": { "--json-instances": "value", "--model": "value", "--signature-name": "value", "--text-instances": "value" } }, "versions": { "commands": { "create": { "commands": {}, "flags": { "--accelerator": "value", "--async": "bool", "--config": "value", "--description": "value", "--explanation-method": [ "integrated-gradients", "sampled-shapley", "xrai" ], "--framework": [ "scikit-learn", "tensorflow", "xgboost" ], "--labels": "value", "--machine-type": "value", "--model": "value", "--num-integral-steps": "value", "--num-paths": "value", "--origin": "value", "--package-uris": "value", "--prediction-class": "value", "--python-version": "value", "--runtime-version": "value", "--service-account": "value", "--staging-bucket": "value" } }, "delete": { "commands": {}, "flags": { "--model": "value" } }, "describe": { "commands": {}, "flags": { "--model": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--model": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "set-default": { "commands": {}, "flags": { "--model": "value" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--description": "value", "--model": "value", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} } }, "flags": {} }, "anthos": { "commands": { "auth": { "commands": { "login": { "commands": {}, "flags": { "--cluster": "value", "--dry-run": "bool", "--kubeconfig": "value", "--login-config": "value", "--login-config-cert": "value", "--user": "value" } } }, "flags": {} } }, "flags": {} }, "app": { "commands": { "domain-mappings": { "commands": { "create": { "commands": {}, "flags": { "--certificate-id": "value", "--certificate-management": [ "automatic", "manual" ] } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--certificate-id": "value", "--certificate-management": [ "automatic", "manual" ], "--no-certificate-id": "bool" } } }, "flags": {} }, "ssl-certificates": { "commands": { "create": { "commands": {}, "flags": { "--certificate": "value", "--display-name": "value", "--private-key": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--certificate": "value", "--display-name": "value", "--private-key": "value" } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--split-health-checks": "bool" } } }, "flags": {} }, "artifacts": { "commands": { "docker": { "commands": { "images": { "commands": { "delete": { "commands": {}, "flags": { "--async": "bool", "--delete-tags": "bool" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--include-tags": "bool", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} }, "tags": { "commands": { "add": { "commands": {}, "flags": {} }, "delete": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} } }, "flags": {} }, "locations": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": { "--location": "value" } } }, "flags": {} }, "packages": { "commands": { "delete": { "commands": {}, "flags": { "--async": "bool", "--location": "value", "--repository": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--repository": "value", "--sort-by": "value" } } }, "flags": {} }, "print-settings": { "commands": { "gradle": { "commands": {}, "flags": { "--location": "value", "--repository": "value" } }, "mvn": { "commands": {}, "flags": { "--location": "value", "--repository": "value" } }, "npm": { "commands": {}, "flags": { "--location": "value", "--repository": "value", "--scope": "value" } } }, "flags": {} }, "repositories": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--async": "bool", "--description": "value", "--location": "value", "--repository-format": [ "docker", "format-unspecified", "maven", "npm" ] } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--location": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--location": "value" } } }, "flags": {} }, "tags": { "commands": { "create": { "commands": {}, "flags": { "--location": "value", "--package": "value", "--repository": "value" } }, "delete": { "commands": {}, "flags": { "--location": "value", "--package": "value", "--repository": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--package": "value", "--page-size": "value", "--repository": "value", "--sort-by": "value" } }, "update": { "commands": {}, "flags": { "--location": "value", "--package": "value", "--repository": "value" } } }, "flags": {} }, "versions": { "commands": { "delete": { "commands": {}, "flags": { "--async": "bool", "--delete-tags": "bool", "--location": "value", "--package": "value", "--repository": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--package": "value", "--page-size": "value", "--repository": "value", "--sort-by": "value" } } }, "flags": {} } }, "flags": {} }, "asset": { "commands": { "analyze-iam-policy": { "commands": {}, "flags": { "--expand-groups": "bool", "--expand-resources": "bool", "--expand-roles": "bool", "--full-resource-name": "value", "--identity": "value", "--organization": "value", "--output-group-edges": "bool", "--output-partial-result-before-timeout": "bool", "--output-resource-edges": "bool", "--permissions": "value", "--roles": "value" } }, "export": { "commands": {}, "flags": { "--asset-types": "value", "--bigquery-dataset": "dynamic", "--bigquery-table": "dynamic", "--content-type": [ "access-policy", "iam-policy", "org-policy", "resource" ], "--folder": "value", "--organization": "value", "--output-bigquery-force": "bool", "--output-path": "value", "--output-path-prefix": "value", "--snapshot-time": "value" } }, "feeds": { "commands": { "create": { "commands": {}, "flags": { "--asset-names": "value", "--asset-types": "value", "--content-type": [ "iam-policy", "resource" ], "--folder": "value", "--organization": "value", "--pubsub-topic": "value" } }, "delete": { "commands": {}, "flags": { "--folder": "value", "--organization": "value" } }, "describe": { "commands": {}, "flags": { "--folder": "value", "--organization": "value" } }, "list": { "commands": {}, "flags": { "--folder": "value", "--organization": "value" } }, "update": { "commands": {}, "flags": { "--add-asset-names": "value", "--add-asset-types": "value", "--clear-asset-names": "bool", "--clear-asset-types": "bool", "--clear-content-type": "bool", "--content-type": [ "iam-policy", "resource" ], "--folder": "value", "--organization": "value", "--pubsub-topic": "value", "--remove-asset-names": "value", "--remove-asset-types": "value" } } }, "flags": {} }, "get-history": { "commands": {}, "flags": { "--asset-names": "value", "--content-type": [ "access-policy", "iam-policy", "org-policy", "resource" ], "--end-time": "value", "--organization": "value", "--start-time": "value" } }, "list": { "commands": {}, "flags": { "--asset-types": "value", "--content-type": [ "resource" ], "--filter": "value", "--limit": "value", "--organization": "value", "--page-size": "value", "--snapshot-time": "value", "--sort-by": "value" } }, "operations": { "commands": { "describe": { "commands": {}, "flags": {} } }, "flags": {} }, "search-iam-policies": { "commands": {}, "flags": { "--page-size": "value", "--page-token": "value", "--query": "value" } } }, "flags": {} }, "auth": { "commands": { "activate-service-account": { "commands": {}, "flags": { "--key-file": "value", "--password-file": "value", "--prompt-for-password": "bool" } }, "configure-docker": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--filter-account": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "login": { "commands": {}, "flags": { "--activate": "bool", "--brief": "bool", "--enable-gdrive-access": "bool", "--force": "bool", "--launch-browser": "bool", "--update-adc": "bool" } }, "print-access-token": { "commands": {}, "flags": {} }, "print-identity-token": { "commands": {}, "flags": { "--audiences": "value", "--include-email": "bool", "--include-license": "bool", "--token-format": [ "full", "standard" ] } }, "revoke": { "commands": {}, "flags": { "--all": "bool" } } }, "flags": {} }, "bigtable": { "commands": { "app-profiles": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--force": "bool", "--instance": "dynamic", "--route-any": "bool", "--route-to": "dynamic", "--transactional-writes": "bool" } }, "delete": { "commands": {}, "flags": { "--force": "bool", "--instance": "dynamic" } }, "describe": { "commands": {}, "flags": { "--instance": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--description": "value", "--force": "bool", "--instance": "dynamic", "--route-any": "bool", "--route-to": "dynamic", "--transactional-writes": "bool" } } }, "flags": {} }, "clusters": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--instance": "dynamic", "--num-nodes": "value", "--zone": "value" } }, "delete": { "commands": {}, "flags": { "--instance": "dynamic" } }, "describe": { "commands": {}, "flags": { "--instance": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instances": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--instance": "dynamic", "--num-nodes": "value" } } }, "flags": {} }, "instances": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--async": "bool", "--cluster": "dynamic", "--cluster-num-nodes": "value", "--cluster-storage-type": [ "hdd", "ssd" ], "--cluster-zone": "value", "--display-name": "value", "--instance-type": [ "DEVELOPMENT", "PRODUCTION" ] } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "tables": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--instance": "dynamic", "--member": "value", "--role": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instances": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--instance": "dynamic", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--instance": "dynamic" } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--display-name": "value" } }, "upgrade": { "commands": {}, "flags": { "--async": "bool" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "billing": { "commands": { "accounts": { "commands": { "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "projects": { "commands": { "describe": { "commands": {}, "flags": {} }, "link": { "commands": {}, "flags": { "--account-id": "dynamic", "--billing-account": "dynamic" } }, "list": { "commands": {}, "flags": { "--billing-account": "dynamic", "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "unlink": { "commands": {}, "flags": {} } }, "flags": {} }, "set-iam-policy": { "commands": {}, "flags": {} } }, "flags": {} }, "budgets": { "commands": { "create": { "commands": {}, "flags": { "--all-updates-rule-pubsub-topic": "value", "--billing-account": "value", "--budget-amount": "value", "--credit-types-treatment": [ "credit-types-treatment-unspecified", "exclude-all-credits", "include-all-credits" ], "--display-name": "value", "--filter-projects": "value", "--filter-services": "value", "--last-period-amount": "bool", "--threshold-rule": "value" } }, "delete": { "commands": {}, "flags": { "--billing-account": "value" } }, "describe": { "commands": {}, "flags": { "--billing-account": "value" } }, "list": { "commands": {}, "flags": { "--billing-account": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "update": { "commands": {}, "flags": { "--add-threshold-rule": "value", "--all-updates-rule-pubsub-topic": "value", "--billing-account": "value", "--budget-amount": "value", "--clear-threshold-rules": "bool", "--credit-types-treatment": [ "credit-types-treatment-unspecified", "exclude-all-credits", "include-all-credits" ], "--display-name": "value", "--filter-projects": "value", "--filter-services": "value", "--last-period-amount": "bool", "--threshold-rules-from-file": "value" } } }, "flags": {} }, "projects": { "commands": { "describe": { "commands": {}, "flags": {} }, "link": { "commands": {}, "flags": { "--account-id": "dynamic", "--billing-account": "dynamic" } }, "list": { "commands": {}, "flags": { "--billing-account": "dynamic", "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "unlink": { "commands": {}, "flags": {} } }, "flags": {} } }, "flags": {} }, "bq": { "commands": { "datasets": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--overwrite": "bool", "--permissions-file": "value" } }, "delete": { "commands": {}, "flags": { "--remove-tables": "bool" } }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--all": "bool", "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "update": { "commands": {}, "flags": { "--description": "value", "--permissions-file": "value" } } }, "flags": {} }, "jobs": { "commands": { "cancel": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--show-all-users": "bool", "--show-config": "bool", "--sort-by": "value" } } }, "flags": {} }, "tables": { "commands": { "copy": { "commands": {}, "flags": { "--async": "bool", "--destination": "dynamic", "--destination-dataset": "dynamic", "--job-id": "value", "--overwrite": "bool", "--source": "dynamic", "--source-dataset": "dynamic" } }, "create": { "commands": {}, "flags": { "--dataset": "dynamic", "--description": "value", "--expiration": "value", "--overwrite": "bool", "--schema": "value", "--schema-file": "value", "--use-legacy-sql": "bool", "--view": "value" } }, "delete": { "commands": {}, "flags": { "--dataset": "dynamic" } }, "describe": { "commands": {}, "flags": { "--dataset": "dynamic" } }, "insert": { "commands": {}, "flags": { "--data": "value", "--dataset": "dynamic" } }, "list": { "commands": {}, "flags": { "--dataset": "dynamic", "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "show-rows": { "commands": {}, "flags": { "--dataset": "dynamic", "--limit": "value", "--start": "value", "--table": "dynamic" } }, "update": { "commands": {}, "flags": { "--add-columns": "value", "--add-columns-file": "value", "--dataset": "dynamic", "--description": "value", "--expiration": "value", "--relax-columns": "value" } } }, "flags": {} } }, "flags": {} }, "build-artifacts": { "commands": { "operations": { "commands": { "describe": { "commands": {}, "flags": {} } }, "flags": {} }, "packages": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--repository": "dynamic", "--sort-by": "value" } } }, "flags": {} }, "print-settings": { "commands": { "gradle": { "commands": {}, "flags": { "--repository": "dynamic" } }, "maven": { "commands": {}, "flags": { "--repository": "dynamic" } }, "npm": { "commands": {}, "flags": { "--repository": "dynamic", "--scope": "value" } } }, "flags": {} }, "repositories": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--async": "bool", "--description": "value", "--location": "value", "--repository-format": [ "docker", "format-unspecified", "maven", "npm", "pypi" ] } }, "delete": { "commands": {}, "flags": { "--async": "bool" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} } }, "flags": {} }, "versions": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--package": "dynamic", "--page-size": "value", "--repository": "dynamic", "--sort-by": "value" } } }, "flags": {} } }, "flags": {} }, "builds": { "commands": { "cancel": { "commands": {}, "flags": {} }, "deploy": { "commands": { "configure": { "commands": { "gke": { "commands": {}, "flags": { "--app-name": "value", "--branch-pattern": "value", "--cluster": "value", "--comment-control": "bool", "--config": "value", "--dockerfile": "value", "--expose": "value", "--gcs-config-staging-dir": "value", "--location": "value", "--namespace": "value", "--preview-expiry": "value", "--pull-request-pattern": "value", "--pull-request-preview": "bool", "--repo-name": "value", "--repo-owner": "value", "--repo-type": [ "bitbucket_mirrored", "csr", "github", "github_mirrored" ], "--tag-pattern": "value", "--timeout": "value" } } }, "flags": {} }, "gke": { "commands": {}, "flags": { "--app-name": "value", "--app-version": "value", "--async": "bool", "--cluster": "value", "--config": "value", "--expose": "value", "--gcs-staging-dir": "value", "--image": "value", "--location": "value", "--namespace": "value", "--no-source": "bool", "--tag": "value", "--timeout": "value" } } }, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--ongoing": "bool", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "log": { "commands": {}, "flags": { "--stream": "bool" } }, "submit": { "commands": {}, "flags": { "--async": "bool", "--config": "value", "--disk-size": "value", "--gcs-log-dir": "value", "--gcs-source-staging-dir": "value", "--ignore-file": "value", "--machine-type": [ "n1-highcpu-32", "n1-highcpu-8" ], "--no-cache": "bool", "--no-source": "bool", "--substitutions": "value", "--tag": "value", "--timeout": "value" } }, "triggers": { "commands": { "create": { "commands": { "cloud-source-repositories": { "commands": {}, "flags": { "--branch-pattern": "value", "--build-config": "value", "--description": "value", "--dockerfile": "value", "--dockerfile-dir": "value", "--dockerfile-image": "value", "--ignored-files": "value", "--included-files": "value", "--repo": "value", "--substitutions": "value", "--tag-pattern": "value", "--trigger-config": "value" } }, "github": { "commands": {}, "flags": { "--branch-pattern": "value", "--build-config": "value", "--comment-control": "bool", "--description": "value", "--dockerfile": "value", "--dockerfile-dir": "value", "--dockerfile-image": "value", "--ignored-files": "value", "--included-files": "value", "--pull-request-pattern": "value", "--repo-name": "value", "--repo-owner": "value", "--substitutions": "value", "--tag-pattern": "value", "--trigger-config": "value" } } }, "flags": {} }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "export": { "commands": {}, "flags": { "--destination": "value" } }, "import": { "commands": {}, "flags": { "--source": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "run": { "commands": {}, "flags": { "--branch": "value", "--sha": "value", "--tag": "value" } } }, "flags": {} }, "worker-pools": { "commands": { "create": { "commands": {}, "flags": { "--config-from-file": "value", "--peered-network": "value", "--region": "value", "--worker-disk-size": "value", "--worker-machine-type": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--config-from-file": "value", "--peered-network": "value", "--region": "value", "--worker-disk-size": "value", "--worker-machine-type": "value" } } }, "flags": {} } }, "flags": {} }, "cloud-shell": { "commands": { "get-mount-command": { "commands": {}, "flags": { "--boosted": "bool", "--force-key-file-overwrite": "bool", "--ssh-key-file": "bool" } }, "scp": { "commands": {}, "flags": { "--boosted": "bool", "--dry-run": "bool", "--force-key-file-overwrite": "bool", "--recurse": "bool", "--scp-flag": "value", "--ssh-key-file": "bool" } }, "ssh": { "commands": {}, "flags": { "--boosted": "bool", "--command": "value", "--dry-run": "bool", "--force-key-file-overwrite": "bool", "--ssh-flag": "value", "--ssh-key-file": "bool" } } }, "flags": {} }, "code": { "commands": { "dev": { "commands": {}, "flags": { "--build-context-directory": "value", "--builder": "value", "--cloudsql-instances": "value", "--cpu-limit": "value", "--dockerfile": "value", "--env-vars": "value", "--env-vars-file": "value", "--image-name": "value", "--kind-cluster": "value", "--kube-context": "value", "--local-port": "value", "--memory-limit": "value", "--minikube-profile": "value", "--minikube-vm-driver": "value", "--namespace": "value", "--service-account": "value", "--service-name": "value", "--stop-cluster": "bool" } }, "export": { "commands": {}, "flags": { "--build-context-directory": "value", "--builder": "value", "--cloudsql-instances": "value", "--cpu-limit": "value", "--dockerfile": "value", "--env-vars": "value", "--env-vars-file": "value", "--image-name": "value", "--kubernetes-file": "value", "--local-port": "value", "--memory-limit": "value", "--no-skaffold-file": "bool", "--service-account": "value", "--service-name": "value", "--skaffold-file": "value" } } }, "flags": { "--build-context-directory": "value", "--builder": "value", "--cloudsql-instances": "value", "--cpu-limit": "value", "--dockerfile": "value", "--env-vars": "value", "--env-vars-file": "value", "--image-name": "value", "--local-port": "value", "--memory-limit": "value", "--service-account": "value", "--service-name": "value" } }, "composer": { "commands": { "environments": { "commands": { "create": { "commands": {}, "flags": { "--airflow-configs": "value", "--airflow-version": "value", "--async": "bool", "--cluster-ipv4-cidr": "value", "--cluster-secondary-range-name": "value", "--disk-size": "value", "--enable-ip-alias": "bool", "--enable-private-endpoint": "bool", "--enable-private-environment": "bool", "--env-variables": "value", "--image-version": "value", "--labels": "value", "--location": "value", "--machine-type": "value", "--master-ipv4-cidr": "value", "--network": "value", "--node-count": "value", "--oauth-scopes": "value", "--python-version": [ "2", "3" ], "--service-account": "value", "--services-ipv4-cidr": "value", "--services-secondary-range-name": "value", "--subnetwork": "value", "--tags": "value", "--zone": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--locations": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "list-upgrades": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "run": { "commands": {}, "flags": { "--location": "value" } }, "storage": { "commands": { "dags": { "commands": { "delete": { "commands": {}, "flags": { "--environment": "value", "--location": "value" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--environment": "value", "--location": "value", "--source": "value" } }, "import": { "commands": {}, "flags": { "--destination": "value", "--environment": "value", "--location": "value", "--source": "value" } }, "list": { "commands": {}, "flags": { "--environment": "value", "--location": "value" } } }, "flags": {} }, "data": { "commands": { "delete": { "commands": {}, "flags": { "--environment": "value", "--location": "value" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--environment": "value", "--location": "value", "--source": "value" } }, "import": { "commands": {}, "flags": { "--destination": "value", "--environment": "value", "--location": "value", "--source": "value" } }, "list": { "commands": {}, "flags": { "--environment": "value", "--location": "value" } } }, "flags": {} }, "plugins": { "commands": { "delete": { "commands": {}, "flags": { "--environment": "value", "--location": "value" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--environment": "value", "--location": "value", "--source": "value" } }, "import": { "commands": {}, "flags": { "--destination": "value", "--environment": "value", "--location": "value", "--source": "value" } }, "list": { "commands": {}, "flags": { "--environment": "value", "--location": "value" } } }, "flags": {} } }, "flags": {} }, "update": { "commands": {}, "flags": { "--airflow-version": "value", "--async": "bool", "--clear-airflow-configs": "bool", "--clear-env-variables": "bool", "--clear-labels": "bool", "--clear-pypi-packages": "bool", "--image-version": "value", "--location": "value", "--node-count": "value", "--remove-airflow-configs": "value", "--remove-env-variables": "value", "--remove-labels": "value", "--remove-pypi-packages": "value", "--update-airflow-configs": "value", "--update-env-variables": "value", "--update-labels": "value", "--update-pypi-package": "value", "--update-pypi-packages-from-file": "value" } } }, "flags": {} }, "operations": { "commands": { "delete": { "commands": {}, "flags": { "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--locations": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "wait": { "commands": {}, "flags": { "--location": "value" } } }, "flags": {} } }, "flags": {} }, "compute": { "commands": { "accelerator-types": { "commands": { "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "addresses": { "commands": { "create": { "commands": {}, "flags": { "--addresses": "value", "--description": "value", "--global": "bool", "--ip-version": [ "IPV4", "IPV6" ], "--network": "value", "--network-tier": "value", "--prefix-length": "value", "--purpose": [ "GCE_ENDPOINT", "SHARED_LOADBALANCER_VIP", "VPC_PEERING" ], "--region": "dynamic", "--subnet": "value" } }, "delete": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--global": "bool", "--region": "dynamic", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "backend-buckets": { "commands": { "add-signed-url-key": { "commands": {}, "flags": { "--key-file": "value", "--key-name": "value" } }, "create": { "commands": {}, "flags": { "--description": "value", "--enable-cdn": "bool", "--gcs-bucket-name": "dynamic", "--signed-url-cache-max-age": "value" } }, "delete": { "commands": {}, "flags": {} }, "delete-signed-url-key": { "commands": {}, "flags": { "--key-name": "value" } }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--description": "value", "--enable-cdn": "bool", "--gcs-bucket-name": "dynamic", "--signed-url-cache-max-age": "value" } } }, "flags": {} }, "backend-services": { "commands": { "add-backend": { "commands": {}, "flags": { "--balancing-mode": [ "CONNECTION", "RATE", "UTILIZATION" ], "--capacity-scaler": "value", "--description": "value", "--failover": "bool", "--global": "bool", "--global-network-endpoint-group": "bool", "--instance-group": "dynamic", "--instance-group-region": "dynamic", "--instance-group-zone": "dynamic", "--max-connections": "value", "--max-connections-per-endpoint": "value", "--max-connections-per-instance": "value", "--max-rate": "value", "--max-rate-per-endpoint": "value", "--max-rate-per-instance": "value", "--max-utilization": "value", "--network-endpoint-group": "value", "--network-endpoint-group-region": "dynamic", "--network-endpoint-group-zone": "dynamic", "--region": "dynamic" } }, "add-signed-url-key": { "commands": {}, "flags": { "--key-file": "value", "--key-name": "value" } }, "create": { "commands": {}, "flags": { "--affinity-cookie-ttl": "value", "--cache-key-include-host": "bool", "--cache-key-include-protocol": "bool", "--cache-key-include-query-string": "bool", "--cache-key-query-string-blacklist": "value", "--cache-key-query-string-whitelist": "value", "--connection-drain-on-failover": "bool", "--connection-draining-timeout": "value", "--custom-request-header": "value", "--description": "value", "--drop-traffic-if-unhealthy": "bool", "--enable-cdn": "bool", "--enable-logging": "bool", "--failover-ratio": "value", "--global": "bool", "--global-health-checks": "bool", "--health-checks": "dynamic", "--health-checks-region": "dynamic", "--http-health-checks": "dynamic", "--https-health-checks": "dynamic", "--iap": "value", "--load-balancing-scheme": [ "EXTERNAL", "INTERNAL", "INTERNAL_MANAGED", "INTERNAL_SELF_MANAGED" ], "--logging-sample-rate": "value", "--network": "value", "--port-name": "value", "--protocol": "value", "--region": "dynamic", "--session-affinity": [ "CLIENT_IP", "CLIENT_IP_NO_DESTINATION", "CLIENT_IP_PORT_PROTO", "CLIENT_IP_PROTO", "GENERATED_COOKIE", "HEADER_FIELD", "HTTP_COOKIE", "NONE" ], "--signed-url-cache-max-age": "value", "--timeout": "value" } }, "delete": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "delete-signed-url-key": { "commands": {}, "flags": { "--key-name": "value" } }, "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "edit": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--global": "bool", "--region": "dynamic" } }, "get-health": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool" } }, "import": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic", "--source": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-backend": { "commands": {}, "flags": { "--global": "bool", "--global-network-endpoint-group": "bool", "--instance-group": "dynamic", "--instance-group-region": "dynamic", "--instance-group-zone": "dynamic", "--network-endpoint-group": "value", "--network-endpoint-group-region": "dynamic", "--network-endpoint-group-zone": "dynamic", "--region": "dynamic" } }, "set-security-policy": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic", "--security-policy": "dynamic" } }, "update": { "commands": {}, "flags": { "--affinity-cookie-ttl": "value", "--cache-key-include-host": "bool", "--cache-key-include-protocol": "bool", "--cache-key-include-query-string": "bool", "--cache-key-query-string-blacklist": "value", "--cache-key-query-string-whitelist": "value", "--connection-drain-on-failover": "bool", "--connection-draining-timeout": "value", "--custom-request-header": "value", "--description": "value", "--drop-traffic-if-unhealthy": "bool", "--enable-cdn": "bool", "--enable-logging": "bool", "--failover-ratio": "value", "--global": "bool", "--global-health-checks": "bool", "--health-checks": "dynamic", "--health-checks-region": "dynamic", "--http-health-checks": "dynamic", "--https-health-checks": "dynamic", "--iap": "value", "--logging-sample-rate": "value", "--no-custom-request-headers": "bool", "--no-health-checks": "bool", "--port-name": "value", "--protocol": "value", "--region": "dynamic", "--security-policy": "dynamic", "--session-affinity": [ "CLIENT_IP", "CLIENT_IP_NO_DESTINATION", "CLIENT_IP_PORT_PROTO", "CLIENT_IP_PROTO", "GENERATED_COOKIE", "HEADER_FIELD", "HTTP_COOKIE", "NONE" ], "--signed-url-cache-max-age": "value", "--timeout": "value" } }, "update-backend": { "commands": {}, "flags": { "--balancing-mode": [ "CONNECTION", "RATE", "UTILIZATION" ], "--capacity-scaler": "value", "--description": "value", "--failover": "bool", "--global": "bool", "--instance-group": "dynamic", "--instance-group-region": "dynamic", "--instance-group-zone": "dynamic", "--max-connections": "value", "--max-connections-per-endpoint": "value", "--max-connections-per-instance": "value", "--max-rate": "value", "--max-rate-per-endpoint": "value", "--max-rate-per-instance": "value", "--max-utilization": "value", "--network-endpoint-group": "value", "--network-endpoint-group-zone": "dynamic", "--region": "dynamic" } } }, "flags": {} }, "commitments": { "commands": { "create": { "commands": {}, "flags": { "--accelerator": "value", "--local-ssd": "value", "--machine-type": "value", "--min-cpu-platform": "value", "--plan": [ "12-month", "36-month" ], "--region": "dynamic", "--require-specific-reservation": "bool", "--reservation": "dynamic", "--reservation-zone": "dynamic", "--reservations-from-file": "value", "--resources": "value", "--resources-accelerator": "value", "--type": [ "compute-optimized", "general-purpose", "general-purpose-e2", "general-purpose-n2", "general-purpose-n2d", "memory-optimized" ], "--vm-count": "value" } }, "create-license": { "commands": {}, "flags": { "--amount": "value", "--cores-per-license": "value", "--license": "value", "--plan": [ "12-month", "36-month" ], "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "update-reservations": { "commands": {}, "flags": { "--accelerator": "value", "--local-ssd": "value", "--machine-type": "value", "--min-cpu-platform": "value", "--region": "dynamic", "--require-specific-reservation": "bool", "--reservation": "dynamic", "--reservation-zone": "dynamic", "--reservations-from-file": "value", "--vm-count": "value" } } }, "flags": {} }, "config-ssh": { "commands": {}, "flags": { "--dry-run": "bool", "--force-key-file-overwrite": "bool", "--remove": "bool", "--ssh-config-file": "value", "--ssh-key-file": "value" } }, "connect-to-serial-port": { "commands": {}, "flags": { "--dry-run": "bool", "--extra-args": "value", "--force-key-file-overwrite": "bool", "--port": "value", "--ssh-key-expiration": "value", "--ssh-key-expire-after": "value", "--ssh-key-file": "value", "--zone": "dynamic" } }, "copy-files": { "commands": {}, "flags": { "--dry-run": "bool", "--force-key-file-overwrite": "bool", "--plain": "bool", "--ssh-key-expiration": "value", "--ssh-key-expire-after": "value", "--ssh-key-file": "value", "--strict-host-key-checking": [ "ask", "no", "yes" ], "--zone": "value" } }, "diagnose": { "commands": { "export-logs": { "commands": {}, "flags": { "--collect-process-traces": "bool", "--zone": "dynamic" } }, "routes": { "commands": {}, "flags": { "--container": "value", "--dry-run": "bool", "--external-route-ip": "value", "--force-key-file-overwrite": "bool", "--plain": "bool", "--regexp": "value", "--reverse-traceroute": "bool", "--ssh-flag": "value", "--ssh-key-expiration": "value", "--ssh-key-expire-after": "value", "--ssh-key-file": "value", "--strict-host-key-checking": [ "ask", "no", "yes" ], "--user": "value", "--zones": "dynamic" } }, "sosreport": { "commands": {}, "flags": { "--download-dir": "value", "--dry-run": "bool", "--force-key-file-overwrite": "bool", "--plain": "bool", "--python-path": "value", "--reports-path": "value", "--sosreport-install-path": "value", "--ssh-flag": "value", "--ssh-key-expiration": "value", "--ssh-key-expire-after": "value", "--ssh-key-file": "value", "--strict-host-key-checking": [ "ask", "no", "yes" ], "--user": "value", "--zone": "dynamic" } } }, "flags": {} }, "disk-types": { "commands": { "describe": { "commands": {}, "flags": { "--region": "dynamic", "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool", "--zones": "value" } } }, "flags": {} }, "disks": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic", "--zone": "value" } }, "add-labels": { "commands": {}, "flags": { "--labels": "value", "--region": "dynamic", "--zone": "dynamic" } }, "add-resource-policies": { "commands": {}, "flags": { "--region": "dynamic", "--resource-policies": "value", "--zone": "dynamic" } }, "create": { "commands": {}, "flags": { "--csek-key-file": "value", "--description": "value", "--erase-windows-vss-signature": "bool", "--guest-os-features": "value", "--image": "value", "--image-family": "value", "--image-project": "value", "--kms-key": "dynamic", "--kms-keyring": "dynamic", "--kms-location": "dynamic", "--kms-project": "dynamic", "--labels": "value", "--licenses": "value", "--multi-writer": "bool", "--physical-block-size": [ "16384", "4096" ], "--region": "dynamic", "--replica-zones": "value", "--require-csek-key-create": "bool", "--resource-policies": "value", "--size": "value", "--source-disk": "dynamic", "--source-disk-zone": "dynamic", "--source-snapshot": "dynamic", "--type": "dynamic", "--zone": "dynamic" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic", "--zone": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic", "--zone": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool", "--zones": "value" } }, "move": { "commands": {}, "flags": { "--async": "bool", "--destination-zone": "dynamic", "--zone": "dynamic" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic", "--zone": "value" } }, "remove-labels": { "commands": {}, "flags": { "--all": "bool", "--labels": "value", "--region": "dynamic", "--zone": "dynamic" } }, "remove-resource-policies": { "commands": {}, "flags": { "--region": "dynamic", "--resource-policies": "value", "--zone": "dynamic" } }, "resize": { "commands": {}, "flags": { "--region": "dynamic", "--size": "value", "--zone": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--zone": "value" } }, "snapshot": { "commands": {}, "flags": { "--async": "bool", "--csek-key-file": "value", "--description": "value", "--guest-flush": "bool", "--labels": "value", "--region": "dynamic", "--snapshot-names": "value", "--storage-location": "value", "--zone": "dynamic" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--region": "dynamic", "--remove-labels": "value", "--update-labels": "value", "--zone": "dynamic" } } }, "flags": {} }, "external-vpn-gateways": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--interfaces": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "firewall-rules": { "commands": { "create": { "commands": {}, "flags": { "--action": [ "ALLOW", "DENY" ], "--allow": "value", "--description": "value", "--destination-ranges": "value", "--direction": [ "EGRESS", "IN", "INGRESS", "OUT" ], "--disabled": "bool", "--enable-logging": "bool", "--logging-metadata": [ "exclude-all", "include-all" ], "--network": "value", "--priority": "value", "--rules": "value", "--source-ranges": "value", "--source-service-accounts": "value", "--source-tags": "value", "--target-service-accounts": "value", "--target-tags": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--allow": "value", "--description": "value", "--destination-ranges": "value", "--disabled": "bool", "--enable-logging": "bool", "--logging-metadata": [ "exclude-all", "include-all" ], "--priority": "value", "--rules": "value", "--source-ranges": "value", "--source-service-accounts": "value", "--source-tags": "value", "--target-service-accounts": "value", "--target-tags": "value" } } }, "flags": {} }, "forwarding-rules": { "commands": { "create": { "commands": {}, "flags": { "--address": "dynamic", "--address-region": "dynamic", "--allow-global-access": "bool", "--backend-service": "value", "--backend-service-region": "dynamic", "--description": "value", "--global": "bool", "--global-address": "bool", "--global-backend-service": "bool", "--global-target-http-proxy": "bool", "--global-target-https-proxy": "bool", "--ip-protocol": [ "AH", "ESP", "ICMP", "SCTP", "TCP", "UDP" ], "--ip-version": [ "IPV4", "IPV6" ], "--is-mirroring-collector": "bool", "--load-balancing-scheme": [ "EXTERNAL", "INTERNAL", "INTERNAL_MANAGED", "INTERNAL_SELF_MANAGED" ], "--network": "value", "--network-tier": "value", "--port-range": "value", "--ports": "value", "--region": "dynamic", "--service-label": "value", "--subnet": "value", "--subnet-region": "dynamic", "--target-grpc-proxy": "value", "--target-http-proxy": "value", "--target-http-proxy-region": "dynamic", "--target-https-proxy": "value", "--target-https-proxy-region": "dynamic", "--target-instance": "value", "--target-instance-zone": "dynamic", "--target-pool": "value", "--target-pool-region": "dynamic", "--target-ssl-proxy": "value", "--target-tcp-proxy": "value", "--target-vpn-gateway": "value", "--target-vpn-gateway-region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--global": "bool", "--region": "dynamic" } }, "import": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic", "--source": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "set-target": { "commands": {}, "flags": { "--backend-service": "value", "--backend-service-region": "dynamic", "--global": "bool", "--global-backend-service": "bool", "--global-target-http-proxy": "bool", "--global-target-https-proxy": "bool", "--load-balancing-scheme": [ "EXTERNAL", "INTERNAL", "INTERNAL_MANAGED", "INTERNAL_SELF_MANAGED" ], "--network": "value", "--region": "dynamic", "--subnet": "value", "--subnet-region": "dynamic", "--target-grpc-proxy": "value", "--target-http-proxy": "value", "--target-http-proxy-region": "dynamic", "--target-https-proxy": "value", "--target-https-proxy-region": "dynamic", "--target-instance": "value", "--target-instance-zone": "dynamic", "--target-pool": "value", "--target-pool-region": "dynamic", "--target-ssl-proxy": "value", "--target-tcp-proxy": "value", "--target-vpn-gateway": "value", "--target-vpn-gateway-region": "dynamic" } }, "update": { "commands": {}, "flags": { "--allow-global-access": "bool", "--clear-labels": "bool", "--global": "bool", "--network-tier": "value", "--region": "dynamic", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "health-checks": { "commands": { "create": { "commands": { "grpc": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--enable-logging": "bool", "--global": "bool", "--grpc-service-name": "value", "--healthy-threshold": "value", "--port": "value", "--port-name": "value", "--region": "dynamic", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } }, "http": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--enable-logging": "bool", "--global": "bool", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request-path": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } }, "http2": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--enable-logging": "bool", "--global": "bool", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request-path": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } }, "https": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--enable-logging": "bool", "--global": "bool", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request-path": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } }, "ssl": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--enable-logging": "bool", "--global": "bool", "--healthy-threshold": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } }, "tcp": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--enable-logging": "bool", "--global": "bool", "--healthy-threshold": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } } }, "flags": {} }, "delete": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--protocol": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": { "grpc": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--enable-logging": "bool", "--global": "bool", "--grpc-service-name": "value", "--healthy-threshold": "value", "--port": "value", "--port-name": "value", "--region": "dynamic", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } }, "http": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--enable-logging": "bool", "--global": "bool", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request-path": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } }, "http2": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--enable-logging": "bool", "--global": "bool", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request-path": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } }, "https": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--enable-logging": "bool", "--global": "bool", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request-path": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } }, "ssl": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--enable-logging": "bool", "--global": "bool", "--healthy-threshold": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } }, "tcp": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--enable-logging": "bool", "--global": "bool", "--healthy-threshold": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } } }, "flags": {} } }, "flags": {} }, "http-health-checks": { "commands": { "create": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--request-path": "value", "--timeout": "value", "--unhealthy-threshold": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--request-path": "value", "--timeout": "value", "--unhealthy-threshold": "value" } } }, "flags": {} }, "https-health-checks": { "commands": { "create": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--request-path": "value", "--timeout": "value", "--unhealthy-threshold": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--request-path": "value", "--timeout": "value", "--unhealthy-threshold": "value" } } }, "flags": {} }, "images": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "add-labels": { "commands": {}, "flags": { "--labels": "value" } }, "create": { "commands": {}, "flags": { "--csek-key-file": "value", "--description": "value", "--family": "value", "--forbidden-database-file": "value", "--force": "bool", "--force-create": "bool", "--guest-os-features": "value", "--key-exchange-key-file": "value", "--kms-key": "dynamic", "--kms-keyring": "dynamic", "--kms-location": "dynamic", "--kms-project": "dynamic", "--labels": "value", "--licenses": "value", "--platform-key-file": "value", "--require-csek-key-create": "bool", "--signature-database-file": "value", "--source-disk": "dynamic", "--source-disk-zone": "dynamic", "--source-image": "value", "--source-image-family": "value", "--source-image-project": "value", "--source-snapshot": "dynamic", "--source-uri": "value", "--storage-location": "value" } }, "delete": { "commands": {}, "flags": {} }, "deprecate": { "commands": {}, "flags": { "--delete-in": "value", "--delete-on": "value", "--deprecate-in": "value", "--deprecate-on": "value", "--obsolete-in": "value", "--obsolete-on": "value", "--replacement": "dynamic", "--state": [ "ACTIVE", "DELETED", "DEPRECATED", "OBSOLETE" ] } }, "describe": { "commands": {}, "flags": {} }, "describe-from-family": { "commands": {}, "flags": {} }, "export": { "commands": {}, "flags": { "--async": "bool", "--destination-uri": "value", "--export-format": "value", "--image": "value", "--image-family": "value", "--image-project": "value", "--log-location": "value", "--network": "value", "--subnet": "value", "--timeout": "value", "--zone": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "import": { "commands": {}, "flags": { "--async": "bool", "--data-disk": "bool", "--description": "value", "--family": "value", "--guest-environment": "bool", "--log-location": "value", "--network": "value", "--os": [ "centos-6", "centos-7", "centos-8", "debian-8", "debian-9", "opensuse-15", "rhel-6", "rhel-6-byol", "rhel-7", "rhel-7-byol", "rhel-8", "rhel-8-byol", "sles-12-byol", "sles-15-byol", "ubuntu-1404", "ubuntu-1604", "ubuntu-1804", "windows-10-x64-byol", "windows-10-x86-byol", "windows-2008r2", "windows-2008r2-byol", "windows-2012", "windows-2012-byol", "windows-2012r2", "windows-2012r2-byol", "windows-2016", "windows-2016-byol", "windows-2019", "windows-2019-byol", "windows-7-x64-byol", "windows-7-x86-byol", "windows-8-x64-byol", "windows-8-x86-byol" ], "--source-file": "value", "--source-image": "dynamic", "--storage-location": "value", "--subnet": "value", "--timeout": "value", "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--preview-images": "bool", "--regexp": "value", "--show-deprecated": "bool", "--sort-by": "value", "--standard-images": "bool", "--uri": "bool" } }, "packages": { "commands": { "diff": { "commands": {}, "flags": { "--base-image": "dynamic", "--base-project": "dynamic", "--diff-image": "dynamic", "--diff-project": "dynamic", "--filter": "value", "--limit": "value", "--page-size": "value", "--show-added-packages": "bool", "--show-removed-packages": "bool", "--show-updated-packages": "bool", "--sort-by": "value", "--uri": "bool" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--image": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "remove-labels": { "commands": {}, "flags": { "--all": "bool", "--labels": "value" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--remove-labels": "value", "--update-labels": "value" } }, "vulnerabilities": { "commands": { "describe-note": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--image": "dynamic", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "instance-groups": { "commands": { "describe": { "commands": {}, "flags": { "--region": "dynamic", "--zone": "dynamic" } }, "get-named-ports": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool", "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool", "--zones": "value" } }, "list-instances": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool", "--zone": "dynamic" } }, "managed": { "commands": { "abandon-instances": { "commands": {}, "flags": { "--instances": "value", "--region": "dynamic", "--zone": "dynamic" } }, "create": { "commands": {}, "flags": { "--base-instance-name": "value", "--description": "value", "--health-check": "dynamic", "--http-health-check": "value", "--https-health-check": "value", "--initial-delay": "value", "--instance-redistribution-type": [ "NONE", "PROACTIVE" ], "--region": "dynamic", "--size": "value", "--stateful-disk": "value", "--target-distribution-shape": [ "ANY", "EVEN" ], "--target-pool": "value", "--template": "value", "--zone": "dynamic", "--zones": "dynamic" } }, "create-instance": { "commands": {}, "flags": { "--instance": "value", "--region": "dynamic", "--stateful-disk": "value", "--stateful-metadata": "value", "--zone": "dynamic" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic", "--zone": "dynamic" } }, "delete-instances": { "commands": {}, "flags": { "--instances": "value", "--region": "dynamic", "--zone": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic", "--zone": "dynamic" } }, "describe-instance": { "commands": {}, "flags": { "--instance": "value", "--region": "dynamic", "--zone": "dynamic" } }, "export-autoscaling": { "commands": {}, "flags": { "--autoscaling-file": "value", "--region": "dynamic", "--zone": "dynamic" } }, "get-named-ports": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool", "--zone": "dynamic" } }, "instance-configs": { "commands": { "create": { "commands": {}, "flags": { "--instance": "value", "--region": "dynamic", "--stateful-disk": "value", "--stateful-metadata": "value", "--update-instance": "bool", "--zone": "dynamic" } }, "delete": { "commands": {}, "flags": { "--instances": "value", "--region": "dynamic", "--update-instance": "bool", "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--zone": "dynamic" } }, "update": { "commands": {}, "flags": { "--instance": "value", "--region": "dynamic", "--remove-stateful-disks": "value", "--remove-stateful-metadata": "value", "--stateful-disk": "value", "--stateful-metadata": "value", "--update-instance": "bool", "--update-stateful-disk": "value", "--update-stateful-metadata": "value", "--zone": "dynamic" } } }, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool", "--zones": "value" } }, "list-errors": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool", "--zone": "dynamic" } }, "list-instances": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool", "--zone": "dynamic" } }, "recreate-instances": { "commands": {}, "flags": { "--instances": "value", "--region": "dynamic", "--zone": "dynamic" } }, "resize": { "commands": {}, "flags": { "--creation-retries": "bool", "--region": "dynamic", "--size": "value", "--zone": "dynamic" } }, "rolling-action": { "commands": { "replace": { "commands": {}, "flags": { "--max-surge": "value", "--max-unavailable": "value", "--min-ready": "value", "--region": "dynamic", "--replacement-method": [ "recreate", "substitute" ], "--zone": "dynamic" } }, "restart": { "commands": {}, "flags": { "--max-unavailable": "value", "--min-ready": "value", "--region": "dynamic", "--zone": "dynamic" } }, "start-update": { "commands": {}, "flags": { "--canary-version": "value", "--force": "bool", "--max-surge": "value", "--max-unavailable": "value", "--min-ready": "value", "--region": "dynamic", "--replacement-method": [ "recreate", "substitute" ], "--type": [ "opportunistic", "proactive" ], "--zone": "dynamic" } }, "stop-proactive-update": { "commands": {}, "flags": { "--region": "dynamic", "--zone": "dynamic" } } }, "flags": {} }, "set-autohealing": { "commands": {}, "flags": { "--health-check": "dynamic", "--http-health-check": "value", "--https-health-check": "value", "--initial-delay": "value", "--region": "dynamic", "--zone": "dynamic" } }, "set-autoscaling": { "commands": {}, "flags": { "--autoscaling-file": "value", "--cool-down-period": "value", "--cpu-utilization-predictive-method": [ "none", "standard" ], "--custom-metric-utilization": "value", "--description": "value", "--max-num-replicas": "value", "--min-num-replicas": "value", "--mode": [ "off", "on", "only-up" ], "--queue-scaling-acceptable-backlog-per-instance": "value", "--queue-scaling-cloud-pub-sub": "value", "--queue-scaling-single-worker-throughput": "value", "--region": "dynamic", "--remove-stackdriver-metric": "value", "--scale-based-on-cpu": "bool", "--scale-based-on-load-balancing": "bool", "--scale-in-control": "value", "--stackdriver-metric-filter": "value", "--stackdriver-metric-single-instance-assignment": "value", "--stackdriver-metric-utilization-target": "value", "--stackdriver-metric-utilization-target-type": [ "delta-per-minute", "delta-per-second", "gauge" ], "--target-cpu-utilization": "value", "--target-load-balancing-utilization": "value", "--update-stackdriver-metric": "value", "--zone": "dynamic" } }, "set-instance-template": { "commands": {}, "flags": { "--region": "dynamic", "--template": "value", "--zone": "dynamic" } }, "set-named-ports": { "commands": {}, "flags": { "--named-ports": "value", "--region": "dynamic", "--zone": "dynamic" } }, "set-target-pools": { "commands": {}, "flags": { "--region": "dynamic", "--target-pools": "value", "--zone": "dynamic" } }, "stop-autoscaling": { "commands": {}, "flags": { "--region": "dynamic", "--zone": "dynamic" } }, "update": { "commands": {}, "flags": { "--clear-autohealing": "bool", "--health-check": "dynamic", "--http-health-check": "value", "--https-health-check": "value", "--initial-delay": "value", "--instance-redistribution-type": [ "NONE", "PROACTIVE" ], "--region": "dynamic", "--remove-stateful-disks": "value", "--stateful-disk": "value", "--update-stateful-disk": "value", "--zone": "dynamic" } }, "update-autoscaling": { "commands": {}, "flags": { "--clear-scale-in-control": "bool", "--cpu-utilization-predictive-method": [ "none", "standard" ], "--mode": [ "off", "on", "only-up" ], "--region": "dynamic", "--scale-in-control": "value", "--zone": "dynamic" } }, "update-instances": { "commands": {}, "flags": { "--instances": "value", "--minimal-action": [ "none", "refresh", "replace", "restart" ], "--most-disruptive-allowed-action": [ "none", "refresh", "replace", "restart" ], "--region": "dynamic", "--zone": "dynamic" } }, "wait-until": { "commands": {}, "flags": { "--region": "dynamic", "--stable": "bool", "--timeout": "value", "--version-target-reached": "bool", "--zone": "dynamic" } }, "wait-until-stable": { "commands": {}, "flags": { "--region": "dynamic", "--timeout": "value", "--zone": "dynamic" } } }, "flags": {} }, "set-named-ports": { "commands": {}, "flags": { "--named-ports": "value", "--region": "dynamic", "--zone": "dynamic" } }, "unmanaged": { "commands": { "add-instances": { "commands": {}, "flags": { "--instances": "value", "--zone": "dynamic" } }, "create": { "commands": {}, "flags": { "--description": "value", "--zone": "dynamic" } }, "delete": { "commands": {}, "flags": { "--zone": "dynamic" } }, "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "get-named-ports": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool", "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool", "--zones": "dynamic" } }, "list-instances": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool", "--zone": "dynamic" } }, "remove-instances": { "commands": {}, "flags": { "--instances": "value", "--zone": "dynamic" } }, "set-named-ports": { "commands": {}, "flags": { "--named-ports": "value", "--zone": "dynamic" } } }, "flags": {} } }, "flags": {} }, "instance-templates": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--accelerator": "value", "--address": "value", "--boot-disk-auto-delete": "bool", "--boot-disk-device-name": "value", "--boot-disk-kms-key": "dynamic", "--boot-disk-kms-keyring": "dynamic", "--boot-disk-kms-location": "dynamic", "--boot-disk-kms-project": "dynamic", "--boot-disk-size": "value", "--boot-disk-type": "value", "--can-ip-forward": "bool", "--confidential-compute": "bool", "--configure-disk": "value", "--create-disk": "value", "--custom-cpu": "value", "--custom-extensions": "bool", "--custom-memory": "value", "--custom-vm-type": "value", "--description": "value", "--disk": "value", "--image": "value", "--image-family": "value", "--image-project": "value", "--labels": "value", "--local-nvdimm": "value", "--local-ssd": "value", "--machine-type": "dynamic", "--maintenance-policy": [ "MIGRATE", "TERMINATE" ], "--mesh": "value", "--mesh-labels": "value", "--mesh-proxy-config": "value", "--metadata": "value", "--metadata-from-file": "value", "--min-cpu-platform": "value", "--min-node-cpu": "value", "--network": "value", "--network-interface": "value", "--network-tier": "value", "--no-address": "bool", "--no-scopes": "bool", "--no-service-account": "bool", "--node": "value", "--node-affinity-file": "value", "--node-group": "value", "--on-host-maintenance": [ "MIGRATE", "TERMINATE" ], "--preemptible": "bool", "--private-network-ip": "value", "--region": "dynamic", "--reservation": "value", "--reservation-affinity": [ "any", "none", "specific" ], "--restart-on-failure": "bool", "--scopes": "value", "--service-account": "value", "--shielded-integrity-monitoring": "bool", "--shielded-secure-boot": "bool", "--shielded-vtpm": "bool", "--source-instance": "dynamic", "--source-instance-zone": "dynamic", "--subnet": "value", "--tags": "value" } }, "create-with-container": { "commands": {}, "flags": { "--address": "value", "--boot-disk-auto-delete": "bool", "--boot-disk-device-name": "value", "--boot-disk-size": "value", "--boot-disk-type": "value", "--can-ip-forward": "bool", "--container-arg": "value", "--container-command": "value", "--container-env": "value", "--container-env-file": "value", "--container-image": "value", "--container-mount-disk": "value", "--container-mount-host-path": "value", "--container-mount-tmpfs": "value", "--container-privileged": "bool", "--container-restart-policy": [ "always", "never", "on-failure" ], "--container-stdin": "bool", "--container-tty": "bool", "--create-disk": "value", "--custom-cpu": "value", "--custom-extensions": "bool", "--custom-memory": "value", "--custom-vm-type": "value", "--description": "value", "--disk": "value", "--image": "value", "--image-family": "value", "--image-project": "value", "--labels": "value", "--local-nvdimm": "value", "--local-ssd": "value", "--machine-type": "dynamic", "--maintenance-policy": [ "MIGRATE", "TERMINATE" ], "--metadata": "value", "--metadata-from-file": "value", "--min-cpu-platform": "value", "--network": "value", "--network-interface": "value", "--network-tier": "value", "--no-address": "bool", "--no-scopes": "bool", "--no-service-account": "bool", "--on-host-maintenance": [ "MIGRATE", "TERMINATE" ], "--preemptible": "bool", "--private-network-ip": "value", "--region": "dynamic", "--restart-on-failure": "bool", "--scopes": "value", "--service-account": "value", "--subnet": "value", "--tags": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} } }, "flags": {} }, "instances": { "commands": { "add-access-config": { "commands": {}, "flags": { "--access-config-name": "value", "--address": "value", "--network-interface": "value", "--network-tier": "value", "--no-public-dns": "bool", "--no-public-ptr": "bool", "--no-public-ptr-domain": "bool", "--public-dns": "bool", "--public-ptr": "bool", "--public-ptr-domain": "value", "--zone": "dynamic" } }, "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic", "--zone": "value" } }, "add-labels": { "commands": {}, "flags": { "--labels": "value", "--zone": "dynamic" } }, "add-metadata": { "commands": {}, "flags": { "--metadata": "value", "--metadata-from-file": "value", "--zone": "dynamic" } }, "add-resource-policies": { "commands": {}, "flags": { "--resource-policies": "value", "--zone": "dynamic" } }, "add-tags": { "commands": {}, "flags": { "--tags": "value", "--zone": "dynamic" } }, "attach-disk": { "commands": {}, "flags": { "--boot": "bool", "--csek-key-file": "value", "--device-name": "value", "--disk": "value", "--disk-scope": [ "regional", "zonal" ], "--force-attach": "bool", "--mode": [ "ro", "rw" ], "--zone": "dynamic" } }, "create": { "commands": {}, "flags": { "--accelerator": "value", "--address": "value", "--async": "bool", "--boot-disk-auto-delete": "bool", "--boot-disk-device-name": "value", "--boot-disk-kms-key": "dynamic", "--boot-disk-kms-keyring": "dynamic", "--boot-disk-kms-location": "dynamic", "--boot-disk-kms-project": "dynamic", "--boot-disk-size": "value", "--boot-disk-type": "value", "--can-ip-forward": "bool", "--confidential-compute": "bool", "--create-disk": "value", "--csek-key-file": "value", "--custom-cpu": "value", "--custom-extensions": "bool", "--custom-memory": "value", "--custom-vm-type": "value", "--deletion-protection": "bool", "--description": "value", "--disk": "value", "--enable-display-device": "bool", "--erase-windows-vss-signature": "bool", "--hostname": "value", "--image": "value", "--image-family": "value", "--image-project": "value", "--labels": "value", "--local-nvdimm": "value", "--local-ssd": "value", "--machine-type": "dynamic", "--maintenance-policy": [ "MIGRATE", "TERMINATE" ], "--metadata": "value", "--metadata-from-file": "value", "--min-cpu-platform": "value", "--min-node-cpu": "value", "--network": "value", "--network-interface": "value", "--network-tier": "value", "--no-address": "bool", "--no-public-dns": "bool", "--no-public-ptr": "bool", "--no-public-ptr-domain": "bool", "--no-scopes": "bool", "--no-service-account": "bool", "--node": "value", "--node-affinity-file": "value", "--node-group": "value", "--on-host-maintenance": [ "MIGRATE", "TERMINATE" ], "--post-key-revocation-action-type": [ "noop", "shutdown" ], "--preemptible": "bool", "--private-network-ip": "value", "--public-dns": "bool", "--public-ptr": "bool", "--public-ptr-domain": "value", "--require-csek-key-create": "bool", "--reservation": "value", "--reservation-affinity": [ "any", "none", "specific" ], "--resource-policies": "value", "--restart-on-failure": "bool", "--scopes": "value", "--service-account": "value", "--shielded-integrity-monitoring": "bool", "--shielded-secure-boot": "bool", "--shielded-vtpm": "bool", "--source-instance-template": "dynamic", "--source-machine-image": "dynamic", "--source-machine-image-csek-key-file": "value", "--source-snapshot": "value", "--subnet": "value", "--tags": "value", "--zone": "dynamic" } }, "create-with-container": { "commands": {}, "flags": { "--accelerator": "value", "--address": "value", "--boot-disk-auto-delete": "bool", "--boot-disk-device-name": "value", "--boot-disk-size": "value", "--boot-disk-type": "value", "--can-ip-forward": "bool", "--container-arg": "value", "--container-command": "value", "--container-env": "value", "--container-env-file": "value", "--container-image": "value", "--container-mount-disk": "value", "--container-mount-host-path": "value", "--container-mount-tmpfs": "value", "--container-privileged": "bool", "--container-restart-policy": [ "always", "never", "on-failure" ], "--container-stdin": "bool", "--container-tty": "bool", "--create-disk": "value", "--custom-cpu": "value", "--custom-extensions": "bool", "--custom-memory": "value", "--custom-vm-type": "value", "--description": "value", "--disk": "value", "--image": "value", "--image-family": "value", "--image-project": "value", "--labels": "value", "--local-nvdimm": "value", "--local-ssd": "value", "--machine-type": "dynamic", "--maintenance-policy": [ "MIGRATE", "TERMINATE" ], "--metadata": "value", "--metadata-from-file": "value", "--min-cpu-platform": "value", "--network": "value", "--network-interface": "value", "--network-tier": "value", "--no-address": "bool", "--no-public-dns": "bool", "--no-public-ptr": "bool", "--no-public-ptr-domain": "bool", "--no-scopes": "bool", "--no-service-account": "bool", "--on-host-maintenance": [ "MIGRATE", "TERMINATE" ], "--preemptible": "bool", "--private-network-ip": "value", "--public-dns": "bool", "--public-ptr": "bool", "--public-ptr-domain": "value", "--restart-on-failure": "bool", "--scopes": "value", "--service-account": "value", "--source-instance-template": "dynamic", "--subnet": "value", "--tags": "value", "--zone": "dynamic" } }, "delete": { "commands": {}, "flags": { "--delete-disks": [ "all", "boot", "data" ], "--keep-disks": [ "all", "boot", "data" ], "--zone": "dynamic" } }, "delete-access-config": { "commands": {}, "flags": { "--access-config-name": "value", "--network-interface": "value", "--zone": "dynamic" } }, "describe": { "commands": {}, "flags": { "--guest-attributes": "value", "--zone": "dynamic" } }, "detach-disk": { "commands": {}, "flags": { "--device-name": "value", "--disk": "value", "--disk-scope": [ "regional", "zonal" ], "--zone": "dynamic" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--zone": "value" } }, "get-guest-attributes": { "commands": {}, "flags": { "--query-path": "value", "--zone": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--zone": "value" } }, "get-serial-port-output": { "commands": {}, "flags": { "--port": "value", "--start": "value", "--zone": "dynamic" } }, "get-shielded-identity": { "commands": {}, "flags": { "--zone": "dynamic" } }, "import": { "commands": {}, "flags": { "--async": "bool", "--can-ip-forward": "bool", "--custom-cpu": "value", "--custom-extensions": "bool", "--custom-memory": "value", "--custom-vm-type": "value", "--deletion-protection": "bool", "--description": "value", "--guest-environment": "bool", "--hostname": "value", "--labels": "value", "--machine-type": "dynamic", "--network": "value", "--network-tier": "value", "--node": "value", "--node-affinity-file": "value", "--node-group": "value", "--os": [ "centos-6", "centos-7", "centos-8", "debian-8", "debian-9", "opensuse-15", "rhel-6", "rhel-6-byol", "rhel-7", "rhel-7-byol", "rhel-8", "rhel-8-byol", "sles-12-byol", "sles-15-byol", "ubuntu-1404", "ubuntu-1604", "ubuntu-1804", "windows-10-x64-byol", "windows-10-x86-byol", "windows-2008r2", "windows-2008r2-byol", "windows-2012", "windows-2012-byol", "windows-2012r2", "windows-2012r2-byol", "windows-2016", "windows-2016-byol", "windows-2019", "windows-2019-byol", "windows-7-x64-byol", "windows-7-x86-byol", "windows-8-x64-byol", "windows-8-x86-byol" ], "--private-network-ip": "value", "--restart-on-failure": "bool", "--source-uri": "value", "--subnet": "value", "--tags": "value", "--timeout": "value", "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool", "--zones": "dynamic" } }, "move": { "commands": {}, "flags": { "--async": "bool", "--destination-zone": "dynamic", "--zone": "dynamic" } }, "network-interfaces": { "commands": { "get-effective-firewalls": { "commands": {}, "flags": { "--network-interface": "value", "--zone": "dynamic" } }, "update": { "commands": {}, "flags": { "--aliases": "value", "--network-interface": "value", "--zone": "dynamic" } } }, "flags": {} }, "os-inventory": { "commands": { "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "list-instances": { "commands": {}, "flags": { "--filter": "value", "--inventory-filter": "value", "--kernel-version": "value", "--limit": "value", "--os-shortname": "value", "--os-version": "value", "--package-name": "value", "--package-version": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic", "--zone": "value" } }, "remove-labels": { "commands": {}, "flags": { "--all": "bool", "--labels": "value", "--zone": "dynamic" } }, "remove-metadata": { "commands": {}, "flags": { "--all": "bool", "--keys": "value", "--zone": "dynamic" } }, "remove-resource-policies": { "commands": {}, "flags": { "--resource-policies": "value", "--zone": "dynamic" } }, "remove-tags": { "commands": {}, "flags": { "--all": "bool", "--tags": "value", "--zone": "dynamic" } }, "reset": { "commands": {}, "flags": { "--zone": "dynamic" } }, "resume": { "commands": {}, "flags": { "--async": "bool", "--csek-key-file": "value", "--zone": "dynamic" } }, "set-disk-auto-delete": { "commands": {}, "flags": { "--auto-delete": "bool", "--device-name": "value", "--disk": "value", "--zone": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--zone": "value" } }, "set-machine-type": { "commands": {}, "flags": { "--custom-cpu": "value", "--custom-extensions": "bool", "--custom-memory": "value", "--custom-vm-type": "value", "--machine-type": "dynamic", "--zone": "dynamic" } }, "set-min-cpu-platform": { "commands": {}, "flags": { "--async": "bool", "--min-cpu-platform": "value", "--zone": "dynamic" } }, "set-name": { "commands": {}, "flags": { "--new-name": "value", "--zone": "dynamic" } }, "set-scheduling": { "commands": {}, "flags": { "--clear-min-node-cpu": "bool", "--clear-node-affinities": "bool", "--maintenance-policy": [ "MIGRATE", "TERMINATE" ], "--min-node-cpu": "value", "--node": "value", "--node-affinity-file": "value", "--node-group": "value", "--on-host-maintenance": [ "MIGRATE", "TERMINATE" ], "--restart-on-failure": "bool", "--zone": "dynamic" } }, "set-scopes": { "commands": {}, "flags": { "--no-scopes": "bool", "--no-service-account": "bool", "--scopes": "value", "--service-account": "value", "--zone": "dynamic" } }, "simulate-maintenance-event": { "commands": {}, "flags": { "--async": "bool", "--zone": "dynamic" } }, "start": { "commands": {}, "flags": { "--async": "bool", "--csek-key-file": "value", "--zone": "dynamic" } }, "stop": { "commands": {}, "flags": { "--async": "bool", "--discard-local-ssd": "bool", "--zone": "dynamic" } }, "suspend": { "commands": {}, "flags": { "--async": "bool", "--discard-local-ssd": "bool", "--zone": "dynamic" } }, "tail-serial-port-output": { "commands": {}, "flags": { "--port": "value", "--zone": "dynamic" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--deletion-protection": "bool", "--enable-display-device": "bool", "--min-cpu-platform": "value", "--remove-labels": "value", "--shielded-integrity-monitoring": "bool", "--shielded-learn-integrity-policy": "bool", "--shielded-secure-boot": "bool", "--shielded-vtpm": "bool", "--update-labels": "value", "--zone": "dynamic" } }, "update-access-config": { "commands": {}, "flags": { "--network-interface": "value", "--network-tier": "value", "--no-public-dns": "bool", "--no-public-ptr": "bool", "--no-public-ptr-domain": "bool", "--public-dns": "bool", "--public-ptr": "bool", "--public-ptr-domain": "value", "--zone": "dynamic" } }, "update-container": { "commands": {}, "flags": { "--clear-container-args": "bool", "--clear-container-command": "bool", "--container-arg": "value", "--container-command": "value", "--container-env": "value", "--container-env-file": "value", "--container-image": "value", "--container-mount-disk": "value", "--container-mount-host-path": "value", "--container-mount-tmpfs": "value", "--container-privileged": "bool", "--container-restart-policy": [ "always", "never", "on-failure" ], "--container-stdin": "bool", "--container-tty": "bool", "--remove-container-env": "value", "--remove-container-mounts": "value", "--zone": "dynamic" } }, "update-from-file": { "commands": {}, "flags": { "--minimal-action": "value", "--most-disruptive-allowed-action": "value", "--source": "value", "--zone": "dynamic" } }, "vulnerabilities": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--instance-zone": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "interconnects": { "commands": { "attachments": { "commands": { "dedicated": { "commands": { "create": { "commands": {}, "flags": { "--bandwidth": [ "100m", "10g", "1g", "200m", "20g", "2g", "300m", "400m", "500m", "50g", "50m", "5g" ], "--candidate-subnets": "value", "--description": "value", "--dry-run": "bool", "--enable-admin": "bool", "--interconnect": "dynamic", "--mtu": "value", "--region": "dynamic", "--router": "dynamic", "--vlan": "value" } }, "update": { "commands": {}, "flags": { "--bandwidth": [ "100m", "10g", "1g", "200m", "20g", "2g", "300m", "400m", "500m", "50g", "50m", "5g" ], "--clear-labels": "bool", "--description": "value", "--enable-admin": "bool", "--mtu": "value", "--region": "dynamic", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "partner": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--dry-run": "bool", "--edge-availability-domain": [ "any", "availability-domain-1", "availability-domain-2" ], "--enable-admin": "bool", "--mtu": "value", "--region": "dynamic", "--router": "dynamic" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--description": "value", "--enable-admin": "bool", "--mtu": "value", "--region": "dynamic", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} } }, "flags": {} }, "create": { "commands": {}, "flags": { "--admin-enabled": "bool", "--customer-name": "value", "--description": "value", "--interconnect-type": [ "DEDICATED", "IT_PRIVATE", "PARTNER" ], "--link-type": [ "LINK_TYPE_ETHERNET_100G_LR", "LINK_TYPE_ETHERNET_10G_LR" ], "--location": "dynamic", "--noc-contact-email": "value", "--requested-link-count": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-diagnostics": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "locations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--admin-enabled": "bool", "--clear-labels": "bool", "--description": "value", "--noc-contact-email": "value", "--remove-labels": "value", "--requested-link-count": "value", "--update-labels": "value" } } }, "flags": {} }, "machine-images": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--csek-key-file": "value", "--description": "value", "--guest-flush": "bool", "--kms-key": "dynamic", "--kms-keyring": "dynamic", "--kms-location": "dynamic", "--kms-project": "dynamic", "--require-csek-key-create": "bool", "--source-disk-csek-key": "value", "--source-instance": "dynamic", "--source-instance-zone": "dynamic", "--storage-location": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "import": { "commands": {}, "flags": { "--async": "bool", "--can-ip-forward": "bool", "--custom-cpu": "value", "--custom-extensions": "bool", "--custom-memory": "value", "--custom-vm-type": "value", "--description": "value", "--guest-environment": "bool", "--guest-flush": "bool", "--labels": "value", "--machine-type": "dynamic", "--network": "value", "--network-tier": "value", "--os": [ "centos-6", "centos-7", "centos-8", "debian-8", "debian-9", "opensuse-15", "rhel-6", "rhel-6-byol", "rhel-7", "rhel-7-byol", "rhel-8", "rhel-8-byol", "sles-12-byol", "sles-15-byol", "ubuntu-1404", "ubuntu-1604", "ubuntu-1804", "windows-10-x64-byol", "windows-10-x86-byol", "windows-2008r2", "windows-2008r2-byol", "windows-2012", "windows-2012-byol", "windows-2012r2", "windows-2012r2-byol", "windows-2016", "windows-2016-byol", "windows-2019", "windows-2019-byol", "windows-7-x64-byol", "windows-7-x86-byol", "windows-8-x64-byol", "windows-8-x86-byol" ], "--restart-on-failure": "bool", "--source-uri": "value", "--storage-location": "value", "--subnet": "value", "--tags": "value", "--timeout": "value", "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} } }, "flags": {} }, "machine-types": { "commands": { "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool", "--zones": "dynamic" } } }, "flags": {} }, "network-endpoint-groups": { "commands": { "create": { "commands": {}, "flags": { "--app-engine-app": "bool", "--app-engine-service": "value", "--app-engine-url-mask": "value", "--app-engine-version": "value", "--cloud-function-name": "value", "--cloud-function-url-mask": "value", "--cloud-run-service": "value", "--cloud-run-tag": "value", "--cloud-run-url-mask": "value", "--default-port": "value", "--global": "bool", "--network": "value", "--network-endpoint-type": [ "gce-vm-ip-port", "gce-vm-primary-ip", "internet-fqdn-port", "internet-ip-port", "non-gcp-private-ip-port", "serverless" ], "--region": "dynamic", "--subnet": "value", "--zone": "dynamic" } }, "delete": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic", "--zone": "dynamic" } }, "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic", "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool", "--zones": "value" } }, "list-network-endpoints": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--zone": "dynamic" } }, "update": { "commands": {}, "flags": { "--add-endpoint": "value", "--global": "bool", "--remove-endpoint": "value", "--zone": "dynamic" } } }, "flags": {} }, "networks": { "commands": { "create": { "commands": {}, "flags": { "--bgp-routing-mode": [ "global", "regional" ], "--description": "value", "--mtu": "value", "--range": "value", "--subnet-mode": [ "auto", "custom", "legacy" ] } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-effective-firewalls": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } }, "list-ip-addresses": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--types": "value" } }, "list-ip-owners": { "commands": {}, "flags": { "--filter": "value", "--ip-cidr-range": "value", "--limit": "value", "--owner-projects": "value", "--owner-types": "value", "--page-size": "value", "--sort-by": "value", "--subnet-name": "value", "--subnet-region": "value", "--uri": "bool" } }, "peerings": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--auto-create-routes": "bool", "--export-custom-routes": "bool", "--export-subnet-routes-with-public-ip": "bool", "--import-custom-routes": "bool", "--import-subnet-routes-with-public-ip": "bool", "--network": "value", "--peer-network": "value", "--peer-project": "value" } }, "delete": { "commands": {}, "flags": { "--network": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--network": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "list-routes": { "commands": {}, "flags": { "--direction": [ "INCOMING", "OUTGOING" ], "--filter": "value", "--limit": "value", "--network": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--export-custom-routes": "bool", "--export-subnet-routes-with-public-ip": "bool", "--import-custom-routes": "bool", "--import-subnet-routes-with-public-ip": "bool", "--network": "value" } } }, "flags": {} }, "subnets": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--region": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--aggregation-interval": [ "interval-1-min", "interval-10-min", "interval-15-min", "interval-30-sec", "interval-5-min", "interval-5-sec" ], "--description": "value", "--enable-flow-logs": "bool", "--enable-private-ip-google-access": "bool", "--enable-private-ipv6-access": "bool", "--flow-sampling": "value", "--logging-aggregation-interval": [ "interval-1-min", "interval-10-min", "interval-15-min", "interval-30-sec", "interval-5-min", "interval-5-sec" ], "--logging-filter-expr": "value", "--logging-flow-sampling": "value", "--logging-metadata": [ "custom", "exclude-all", "include-all" ], "--logging-metadata-fields": "value", "--metadata": [ "exclude-all-metadata", "include-all-metadata" ], "--network": "dynamic", "--private-ipv6-google-access-service-accounts": "value", "--private-ipv6-google-access-type": [ "disable", "enable-bidirectional-access", "enable-outbound-vm-access", "enable-outbound-vm-access-for-service-accounts" ], "--purpose": [ "AGGREGATE", "INTERNAL_HTTPS_LOAD_BALANCER", "PRIVATE" ], "--range": "value", "--region": "dynamic", "--role": [ "ACTIVE", "BACKUP" ], "--secondary-range": "value" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "expand-ip-range": { "commands": {}, "flags": { "--prefix-length": "value", "--region": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--network": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "list-usable": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--region": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "value" } }, "update": { "commands": {}, "flags": { "--add-secondary-ranges": "value", "--aggregation-interval": [ "interval-1-min", "interval-10-min", "interval-15-min", "interval-30-sec", "interval-5-min", "interval-5-sec" ], "--drain-timeout": "value", "--enable-flow-logs": "bool", "--enable-private-ip-google-access": "bool", "--enable-private-ipv6-access": "bool", "--flow-sampling": "value", "--logging-aggregation-interval": [ "interval-1-min", "interval-10-min", "interval-15-min", "interval-30-sec", "interval-5-min", "interval-5-sec" ], "--logging-filter-expr": "value", "--logging-flow-sampling": "value", "--logging-metadata": [ "custom", "exclude-all", "include-all" ], "--logging-metadata-fields": "value", "--metadata": [ "exclude-all-metadata", "include-all-metadata" ], "--private-ipv6-google-access-service-accounts": "value", "--private-ipv6-google-access-type": [ "disable", "enable-bidirectional-access", "enable-outbound-vm-access", "enable-outbound-vm-access-for-service-accounts" ], "--region": "dynamic", "--remove-secondary-ranges": "value", "--role": [ "ACTIVE" ] } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--async": "bool", "--bgp-routing-mode": [ "global", "regional" ], "--mtu": "value", "--switch-to-custom-subnet-mode": "bool" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic", "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool", "--zones": "value" } } }, "flags": {} }, "org-security-policies": { "commands": { "associations": { "commands": { "create": { "commands": {}, "flags": { "--folder": "value", "--name": "value", "--organization": "value", "--replace-association-on-target": "bool", "--security-policy": "value" } }, "delete": { "commands": {}, "flags": { "--organization": "value", "--security-policy": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--folder": "value", "--limit": "value", "--organization": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "copy-rules": { "commands": {}, "flags": { "--organization": "value", "--source-security-policy": "value" } }, "create": { "commands": {}, "flags": { "--description": "value", "--display-name": "value", "--folder": "value", "--organization": "value" } }, "delete": { "commands": {}, "flags": { "--organization": "value" } }, "describe": { "commands": {}, "flags": { "--organization": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--folder": "value", "--limit": "value", "--organization": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } }, "list-rules": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--organization": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } }, "move": { "commands": {}, "flags": { "--folder": "value", "--organization": "value" } }, "rules": { "commands": { "create": { "commands": {}, "flags": { "--action": [ "allow", "deny", "goto_next" ], "--description": "value", "--dest-ip-ranges": "value", "--dest-ports": "value", "--direction": [ "EGRESS", "INGRESS" ], "--enable-logging": "bool", "--layer4-configs": "value", "--organization": "value", "--security-policy": "value", "--src-ip-ranges": "value", "--target-resources": "value", "--target-service-accounts": "value" } }, "delete": { "commands": {}, "flags": { "--organization": "value", "--security-policy": "value" } }, "describe": { "commands": {}, "flags": { "--organization": "value", "--security-policy": "value" } }, "update": { "commands": {}, "flags": { "--action": [ "allow", "deny", "goto_next" ], "--description": "value", "--dest-ip-ranges": "value", "--dest-ports": "value", "--direction": [ "EGRESS", "INGRESS" ], "--enable-logging": "bool", "--layer4-configs": "value", "--new-priority": "value", "--organization": "value", "--security-policy": "value", "--src-ip-ranges": "value", "--target-resources": "value", "--target-service-accounts": "value" } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--description": "value", "--organization": "value" } } }, "flags": {} }, "os-config": { "commands": { "guest-policies": { "commands": { "create": { "commands": {}, "flags": { "--file": "value", "--folder": "value", "--organization": "value" } }, "delete": { "commands": {}, "flags": { "--folder": "value", "--organization": "value" } }, "describe": { "commands": {}, "flags": { "--folder": "value", "--organization": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--folder": "value", "--limit": "value", "--organization": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "lookup": { "commands": {}, "flags": { "--zone": "dynamic" } }, "update": { "commands": {}, "flags": { "--file": "value", "--folder": "value", "--organization": "value" } } }, "flags": {} }, "patch-deployments": { "commands": { "create": { "commands": {}, "flags": { "--file": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "patch-jobs": { "commands": { "cancel": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "execute": { "commands": {}, "flags": { "--apt-dist": "bool", "--apt-excludes": "value", "--apt-exclusive-packages": "value", "--async": "bool", "--description": "value", "--display-name": "value", "--dry-run": "bool", "--duration": "value", "--instance-filter": "value", "--instance-filter-all": "bool", "--instance-filter-group-labels": "value", "--instance-filter-name-prefixes": "value", "--instance-filter-names": "value", "--instance-filter-zones": "value", "--post-patch-linux-executable": "value", "--post-patch-linux-success-codes": "value", "--post-patch-windows-executable": "value", "--post-patch-windows-success-codes": "value", "--pre-patch-linux-executable": "value", "--pre-patch-linux-success-codes": "value", "--pre-patch-windows-executable": "value", "--pre-patch-windows-success-codes": "value", "--reboot-config": [ "always", "default", "never" ], "--retry": "bool", "--windows-classifications": "value", "--windows-excludes": "value", "--windows-exclusive-patches": "value", "--yum-excludes": "value", "--yum-exclusive-packages": "value", "--yum-minimal": "bool", "--yum-security": "bool", "--zypper-categories": "value", "--zypper-exclusive-patches": "value", "--zypper-severities": "value", "--zypper-with-optional": "bool", "--zypper-with-update": "bool" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "list-instance-details": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} } }, "flags": {} }, "os-login": { "commands": { "describe-profile": { "commands": {}, "flags": {} }, "remove-profile": { "commands": {}, "flags": { "--operating-system": [ "linux", "windows" ] } }, "ssh-keys": { "commands": { "add": { "commands": {}, "flags": { "--key": "value", "--key-file": "value", "--ttl": "value" } }, "describe": { "commands": {}, "flags": { "--key": "value", "--key-file": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "remove": { "commands": {}, "flags": { "--key": "value", "--key-file": "value" } }, "update": { "commands": {}, "flags": { "--key": "value", "--key-file": "value", "--ttl": "value" } } }, "flags": {} } }, "flags": {} }, "packet-mirrorings": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--collector-ilb": "value", "--description": "value", "--enable": "bool", "--filter-cidr-ranges": "value", "--filter-protocols": "value", "--mirrored-instances": "value", "--mirrored-subnets": "value", "--mirrored-tags": "value", "--network": "value", "--region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--add-filter-cidr-ranges": "value", "--add-filter-protocols": "value", "--add-mirrored-instances": "value", "--add-mirrored-subnets": "value", "--add-mirrored-tags": "value", "--async": "bool", "--clear-filter-cidr-ranges": "bool", "--clear-filter-protocols": "bool", "--clear-mirrored-instances": "bool", "--clear-mirrored-subnets": "bool", "--clear-mirrored-tags": "bool", "--collector-ilb": "value", "--description": "value", "--enable": "bool", "--region": "dynamic", "--remove-filter-cidr-ranges": "value", "--remove-filter-protocols": "value", "--remove-mirrored-instances": "value", "--remove-mirrored-subnets": "value", "--remove-mirrored-tags": "value", "--set-filter-cidr-ranges": "value", "--set-filter-protocols": "value", "--set-mirrored-instances": "value", "--set-mirrored-subnets": "value", "--set-mirrored-tags": "value" } } }, "flags": {} }, "project-info": { "commands": { "add-metadata": { "commands": {}, "flags": { "--metadata": "value", "--metadata-from-file": "value" } }, "describe": { "commands": {}, "flags": {} }, "remove-metadata": { "commands": {}, "flags": { "--all": "bool", "--keys": "value" } }, "set-default-service-account": { "commands": {}, "flags": { "--no-service-account": "bool", "--service-account": "value" } }, "set-usage-bucket": { "commands": {}, "flags": { "--bucket": "value", "--no-bucket": "bool", "--prefix": "value" } }, "update": { "commands": {}, "flags": { "--default-network-tier": [ "PREMIUM", "STANDARD" ] } } }, "flags": {} }, "public-advertised-prefixes": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--dns-verification-ip": "value", "--range": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--status": [ "ptr-configured" ] } } }, "flags": {} }, "public-delegated-prefixes": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--global": "bool", "--public-advertised-prefix": "value", "--range": "value", "--region": "dynamic" } }, "delegated-sub-prefixes": { "commands": { "create": { "commands": {}, "flags": { "--create-addresses": "bool", "--delegatee-project": "value", "--description": "value", "--global-public-delegated-prefix": "bool", "--public-delegated-prefix": "value", "--public-delegated-prefix-region": "dynamic", "--range": "value" } }, "delete": { "commands": {}, "flags": { "--global-public-delegated-prefix": "bool", "--public-delegated-prefix": "value", "--public-delegated-prefix-region": "dynamic" } } }, "flags": {} }, "delete": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "regions": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "reservations": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic", "--zone": "value" } }, "create": { "commands": {}, "flags": { "--accelerator": "value", "--description": "value", "--local-ssd": "value", "--machine-type": "value", "--min-cpu-platform": "value", "--require-specific-reservation": "bool", "--vm-count": "value", "--zone": "dynamic" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--zone": "value" } }, "describe": { "commands": {}, "flags": { "--zone": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic", "--zone": "value" } }, "set-iam-policy": { "commands": {}, "flags": { "--zone": "value" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--vm-count": "value", "--zone": "value" } } }, "flags": {} }, "reset-windows-password": { "commands": {}, "flags": { "--user": "value", "--zone": "dynamic" } }, "resource-policies": { "commands": { "create": { "commands": { "group-placement": { "commands": {}, "flags": { "--availability-domain-count": "value", "--collocation": [ "collocated", "unspecified-collocation" ], "--description": "value", "--region": "dynamic", "--vm-count": "value" } }, "snapshot-schedule": { "commands": {}, "flags": { "--daily-schedule": "bool", "--description": "value", "--guest-flush": "bool", "--hourly-schedule": "value", "--max-retention-days": "value", "--on-source-disk-delete": [ "apply-retention-policy", "keep-auto-snapshots" ], "--region": "dynamic", "--snapshot-labels": "value", "--start-time": "value", "--storage-location": "value", "--weekly-schedule": [ "friday", "monday", "saturday", "sunday", "thursday", "tuesday", "wednesday" ], "--weekly-schedule-from-file": "value" } }, "vm-maintenance": { "commands": { "concurrency-limit": { "commands": {}, "flags": { "--description": "value", "--max-percent": "value", "--region": "dynamic" } }, "maintenance-window": { "commands": {}, "flags": { "--daily-window": "bool", "--description": "value", "--region": "dynamic", "--start-time": "value" } } }, "flags": {} } }, "flags": {} }, "create-snapshot-schedule": { "commands": {}, "flags": { "--daily-schedule": "bool", "--description": "value", "--guest-flush": "bool", "--hourly-schedule": "value", "--max-retention-days": "value", "--on-source-disk-delete": [ "apply-retention-policy", "keep-auto-snapshots" ], "--region": "dynamic", "--snapshot-labels": "value", "--start-time": "value", "--storage-location": "value", "--weekly-schedule": [ "friday", "monday", "saturday", "sunday", "thursday", "tuesday", "wednesday" ], "--weekly-schedule-from-file": "value" } }, "create-vm-maintenance": { "commands": {}, "flags": { "--daily-window": "bool", "--description": "value", "--region": "dynamic", "--start-time": "value" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "value" } } }, "flags": {} }, "routers": { "commands": { "add-bgp-peer": { "commands": {}, "flags": { "--advertised-route-priority": "value", "--advertisement-mode": [ "CUSTOM", "DEFAULT" ], "--async": "bool", "--interface": "value", "--peer-asn": "value", "--peer-ip-address": "value", "--peer-name": "value", "--region": "dynamic", "--set-advertisement-groups": "value", "--set-advertisement-ranges": "value" } }, "add-interface": { "commands": {}, "flags": { "--interconnect-attachment": "dynamic", "--interconnect-attachment-region": "dynamic", "--interface-name": "value", "--ip-address": "value", "--mask-length": "value", "--region": "dynamic", "--vpn-tunnel": "dynamic", "--vpn-tunnel-region": "dynamic" } }, "create": { "commands": {}, "flags": { "--advertisement-mode": [ "CUSTOM", "DEFAULT" ], "--asn": "value", "--async": "bool", "--description": "value", "--network": "dynamic", "--region": "dynamic", "--set-advertisement-groups": "value", "--set-advertisement-ranges": "value" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "get-nat-mapping-info": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--nat-name": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value" } }, "get-status": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "nats": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--auto-allocate-nat-external-ips": "bool", "--enable-logging": "bool", "--icmp-idle-timeout": "value", "--log-filter": [ "ALL", "ERRORS_ONLY", "TRANSLATIONS_ONLY" ], "--min-ports-per-vm": "value", "--nat-all-subnet-ip-ranges": "bool", "--nat-custom-subnet-ip-ranges": "value", "--nat-external-ip-pool": "value", "--nat-primary-subnet-ip-ranges": "bool", "--region": "dynamic", "--router": "dynamic", "--tcp-established-idle-timeout": "value", "--tcp-transitory-idle-timeout": "value", "--udp-idle-timeout": "value" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic", "--router": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic", "--router": "dynamic" } }, "list": { "commands": {}, "flags": { "--region": "dynamic", "--router": "dynamic" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--auto-allocate-nat-external-ips": "bool", "--clear-icmp-idle-timeout": "bool", "--clear-min-ports-per-vm": "bool", "--clear-nat-external-drain-ip-pool": "bool", "--clear-tcp-established-idle-timeout": "bool", "--clear-tcp-transitory-idle-timeout": "bool", "--clear-udp-idle-timeout": "bool", "--enable-logging": "bool", "--icmp-idle-timeout": "value", "--log-filter": [ "ALL", "ERRORS_ONLY", "TRANSLATIONS_ONLY" ], "--min-ports-per-vm": "value", "--nat-all-subnet-ip-ranges": "bool", "--nat-custom-subnet-ip-ranges": "value", "--nat-external-drain-ip-pool": "value", "--nat-external-ip-pool": "value", "--nat-primary-subnet-ip-ranges": "bool", "--region": "dynamic", "--router": "dynamic", "--tcp-established-idle-timeout": "value", "--tcp-transitory-idle-timeout": "value", "--udp-idle-timeout": "value" } } }, "flags": {} }, "remove-bgp-peer": { "commands": {}, "flags": { "--peer-name": "value", "--region": "dynamic" } }, "remove-interface": { "commands": {}, "flags": { "--interface-name": "value", "--region": "dynamic" } }, "update": { "commands": {}, "flags": { "--add-advertisement-groups": "value", "--add-advertisement-ranges": "value", "--advertisement-mode": [ "CUSTOM", "DEFAULT" ], "--async": "bool", "--region": "dynamic", "--remove-advertisement-groups": "value", "--remove-advertisement-ranges": "value", "--set-advertisement-groups": "value", "--set-advertisement-ranges": "value" } }, "update-bgp-peer": { "commands": {}, "flags": { "--add-advertisement-groups": "value", "--add-advertisement-ranges": "value", "--advertised-route-priority": "value", "--advertisement-mode": [ "CUSTOM", "DEFAULT" ], "--async": "bool", "--interface": "value", "--ip-address": "value", "--peer-asn": "value", "--peer-ip-address": "value", "--peer-name": "value", "--region": "dynamic", "--remove-advertisement-groups": "value", "--remove-advertisement-ranges": "value", "--set-advertisement-groups": "value", "--set-advertisement-ranges": "value" } }, "update-interface": { "commands": {}, "flags": { "--interconnect-attachment": "dynamic", "--interconnect-attachment-region": "dynamic", "--interface-name": "value", "--ip-address": "value", "--mask-length": "value", "--region": "dynamic", "--vpn-tunnel": "dynamic", "--vpn-tunnel-region": "dynamic" } } }, "flags": {} }, "routes": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--destination-range": "value", "--network": "value", "--next-hop-address": "value", "--next-hop-gateway": "dynamic", "--next-hop-ilb": "value", "--next-hop-ilb-region": "value", "--next-hop-instance": "value", "--next-hop-instance-zone": "value", "--next-hop-vpn-tunnel": "value", "--next-hop-vpn-tunnel-region": "value", "--priority": "value", "--tags": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "scp": { "commands": {}, "flags": { "--compress": "bool", "--dry-run": "bool", "--force-key-file-overwrite": "bool", "--internal-ip": "bool", "--plain": "bool", "--port": "value", "--recurse": "bool", "--scp-flag": "value", "--ssh-key-expiration": "value", "--ssh-key-expire-after": "value", "--ssh-key-file": "value", "--strict-host-key-checking": [ "ask", "no", "yes" ], "--tunnel-through-iap": "bool", "--zone": "value" } }, "security-policies": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--file-format": [ "json", "yaml" ], "--file-name": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "export": { "commands": {}, "flags": { "--file-format": [ "json", "yaml" ], "--file-name": "value" } }, "import": { "commands": {}, "flags": { "--file-format": [ "json", "yaml" ], "--file-name": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "list-preconfigured-expression-sets": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "rules": { "commands": { "create": { "commands": {}, "flags": { "--action": [ "allow", "deny-403", "deny-404", "deny-502" ], "--description": "value", "--expression": "value", "--preview": "bool", "--security-policy": "dynamic", "--src-ip-ranges": "value" } }, "delete": { "commands": {}, "flags": { "--security-policy": "dynamic" } }, "describe": { "commands": {}, "flags": { "--security-policy": "dynamic" } }, "update": { "commands": {}, "flags": { "--action": [ "allow", "deny-403", "deny-404", "deny-502" ], "--description": "value", "--expression": "value", "--preview": "bool", "--security-policy": "dynamic", "--src-ip-ranges": "value" } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--description": "value", "--enable-ml": "bool" } } }, "flags": {} }, "shared-vpc": { "commands": { "associated-projects": { "commands": { "add": { "commands": {}, "flags": { "--host-project": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove": { "commands": {}, "flags": { "--host-project": "value" } } }, "flags": {} }, "disable": { "commands": {}, "flags": {} }, "enable": { "commands": {}, "flags": {} }, "get-host-project": { "commands": {}, "flags": {} }, "list-associated-resources": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "organizations": { "commands": { "list-host-projects": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "sign-url": { "commands": {}, "flags": { "--expires-in": "value", "--key-file": "value", "--key-name": "value", "--validate": "bool" } }, "snapshots": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "add-labels": { "commands": {}, "flags": { "--labels": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "remove-labels": { "commands": {}, "flags": { "--all": "bool", "--labels": "value" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "sole-tenancy": { "commands": { "node-groups": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic", "--zone": "value" } }, "create": { "commands": {}, "flags": { "--autoscaler-mode": [ "off", "on", "only-scale-out" ], "--description": "value", "--maintenance-policy": [ "default", "migrate-within-node-group", "restart-in-place" ], "--maintenance-window-start-time": "value", "--max-nodes": "value", "--min-nodes": "value", "--node-template": "value", "--target-size": "value", "--zone": "dynamic" } }, "delete": { "commands": {}, "flags": { "--zone": "dynamic" } }, "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "list-nodes": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--zone": "dynamic" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic", "--zone": "value" } }, "set-iam-policy": { "commands": {}, "flags": { "--zone": "value" } }, "update": { "commands": {}, "flags": { "--add-nodes": "value", "--autoscaler-mode": [ "off", "on", "only-scale-out" ], "--delete-nodes": "value", "--max-nodes": "value", "--min-nodes": "value", "--node-template": "value", "--zone": "dynamic" } } }, "flags": {} }, "node-templates": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--region": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--cpu-overcommit-type": [ "enabled", "none" ], "--description": "value", "--disk": "value", "--node-affinity-labels": "value", "--node-requirements": "value", "--node-type": "value", "--region": "dynamic", "--server-binding": [ "restart-node-on-any-server", "restart-node-on-minimal-servers" ] } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--region": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "value" } } }, "flags": {} }, "node-types": { "commands": { "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "ssh": { "commands": {}, "flags": { "--command": "value", "--container": "value", "--dry-run": "bool", "--force-key-file-overwrite": "bool", "--internal-ip": "bool", "--plain": "bool", "--ssh-flag": "value", "--ssh-key-expiration": "value", "--ssh-key-expire-after": "value", "--ssh-key-file": "value", "--strict-host-key-checking": [ "ask", "no", "yes" ], "--tunnel-through-iap": "bool", "--zone": "dynamic" } }, "ssl-certificates": { "commands": { "create": { "commands": {}, "flags": { "--certificate": "value", "--description": "value", "--domains": "value", "--global": "bool", "--private-key": "value", "--region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "ssl-policies": { "commands": { "create": { "commands": {}, "flags": { "--custom-features": "value", "--description": "value", "--min-tls-version": [ "1.0", "1.1", "1.2" ], "--profile": [ "COMPATIBLE", "CUSTOM", "MODERN", "RESTRICTED" ] } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "export": { "commands": {}, "flags": { "--destination": "value" } }, "import": { "commands": {}, "flags": { "--source": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "list-available-features": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--custom-features": "value", "--min-tls-version": [ "1.0", "1.1", "1.2" ], "--profile": [ "COMPATIBLE", "CUSTOM", "MODERN", "RESTRICTED" ] } } }, "flags": {} }, "start-iap-tunnel": { "commands": {}, "flags": { "--local-host-port": "value", "--zone": "dynamic" } }, "target-grpc-proxies": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--url-map": "dynamic", "--validate-for-proxyless": "bool" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "target-http-proxies": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--global": "bool", "--global-url-map": "bool", "--proxy-bind": "bool", "--region": "dynamic", "--url-map": "dynamic", "--url-map-region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--global": "bool", "--global-url-map": "bool", "--region": "dynamic", "--url-map": "dynamic", "--url-map-region": "dynamic" } } }, "flags": {} }, "target-https-proxies": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--global": "bool", "--global-ssl-certificates": "bool", "--global-url-map": "bool", "--proxy-bind": "bool", "--quic-override": [ "DISABLE", "ENABLE", "NONE" ], "--region": "dynamic", "--ssl-certificates": "dynamic", "--ssl-certificates-region": "dynamic", "--ssl-policy": "dynamic", "--url-map": "dynamic", "--url-map-region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--clear-ssl-policy": "bool", "--global": "bool", "--global-ssl-certificates": "bool", "--global-url-map": "bool", "--quic-override": [ "DISABLE", "ENABLE", "NONE" ], "--region": "dynamic", "--ssl-certificates": "dynamic", "--ssl-certificates-region": "dynamic", "--ssl-policy": "dynamic", "--url-map": "dynamic", "--url-map-region": "dynamic" } } }, "flags": {} }, "target-instances": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--instance": "dynamic", "--instance-zone": "dynamic", "--zone": "dynamic" } }, "delete": { "commands": {}, "flags": { "--zone": "dynamic" } }, "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool", "--zones": "dynamic" } } }, "flags": {} }, "target-pools": { "commands": { "add-health-checks": { "commands": {}, "flags": { "--http-health-check": "dynamic", "--region": "dynamic" } }, "add-instances": { "commands": {}, "flags": { "--instances": "dynamic", "--instances-zone": "dynamic", "--region": "dynamic", "--zone": "dynamic" } }, "create": { "commands": {}, "flags": { "--backup-pool": "value", "--description": "value", "--failover-ratio": "value", "--health-check": "value", "--http-health-check": "dynamic", "--region": "dynamic", "--session-affinity": [ "CLIENT_IP", "CLIENT_IP_PROTO", "NONE" ] } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "get-health": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-health-checks": { "commands": {}, "flags": { "--http-health-check": "dynamic", "--region": "dynamic" } }, "remove-instances": { "commands": {}, "flags": { "--instances": "dynamic", "--instances-zone": "dynamic", "--region": "dynamic", "--zone": "dynamic" } }, "set-backup": { "commands": {}, "flags": { "--backup-pool": "dynamic", "--failover-ratio": "value", "--no-backup-pool": "bool", "--region": "dynamic" } } }, "flags": {} }, "target-ssl-proxies": { "commands": { "create": { "commands": {}, "flags": { "--backend-service": "dynamic", "--description": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--ssl-certificates": "dynamic", "--ssl-policy": "dynamic" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--backend-service": "dynamic", "--clear-ssl-policy": "bool", "--proxy-header": [ "NONE", "PROXY_V1" ], "--ssl-certificates": "dynamic", "--ssl-policy": "dynamic" } } }, "flags": {} }, "target-tcp-proxies": { "commands": { "create": { "commands": {}, "flags": { "--backend-service": "dynamic", "--description": "value", "--proxy-header": [ "NONE", "PROXY_V1" ] } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--backend-service": "dynamic", "--proxy-header": [ "NONE", "PROXY_V1" ] } } }, "flags": {} }, "target-vpn-gateways": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--network": "dynamic", "--region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--region": "dynamic", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "tpus": { "commands": { "accelerator-types": { "commands": { "describe": { "commands": {}, "flags": { "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--zone": "dynamic" } } }, "flags": {} }, "create": { "commands": {}, "flags": { "--accelerator-type": "value", "--async": "bool", "--description": "value", "--model-base-path": "value", "--model-config-file": "value", "--model-name": "value", "--network": "value", "--platform-config-file": "value", "--preemptible": "bool", "--range": "value", "--reserved": "bool", "--use-service-networking": "bool", "--zone": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--zone": "value" } }, "describe": { "commands": {}, "flags": { "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool", "--zone": "dynamic" } }, "locations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} }, "reimage": { "commands": {}, "flags": { "--async": "bool", "--zone": "value" } }, "start": { "commands": {}, "flags": { "--async": "bool", "--zone": "value" } }, "stop": { "commands": {}, "flags": { "--async": "bool", "--zone": "value" } }, "versions": { "commands": { "describe": { "commands": {}, "flags": { "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--zone": "dynamic" } } }, "flags": {} } }, "flags": {} }, "url-maps": { "commands": { "add-host-rule": { "commands": {}, "flags": { "--description": "value", "--global": "bool", "--hosts": "value", "--path-matcher-name": "value", "--region": "dynamic" } }, "add-path-matcher": { "commands": {}, "flags": { "--backend-bucket-path-rules": "value", "--backend-service-path-rules": "value", "--default-backend-bucket": "value", "--default-service": "value", "--delete-orphaned-path-matcher": "bool", "--description": "value", "--existing-host": "value", "--global": "bool", "--new-hosts": "value", "--path-matcher-name": "value", "--path-rules": "value", "--region": "dynamic" } }, "create": { "commands": {}, "flags": { "--default-backend-bucket": "value", "--default-service": "value", "--description": "value", "--global": "bool", "--region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "edit": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--global": "bool", "--region": "dynamic" } }, "import": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic", "--source": "value" } }, "invalidate-cdn-cache": { "commands": {}, "flags": { "--async": "bool", "--global": "bool", "--host": "value", "--path": "value", "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "list-cdn-cache-invalidations": { "commands": {}, "flags": { "--global": "bool", "--limit": "value", "--region": "dynamic" } }, "remove-host-rule": { "commands": {}, "flags": { "--delete-orphaned-path-matcher": "bool", "--global": "bool", "--host": "value", "--region": "dynamic" } }, "remove-path-matcher": { "commands": {}, "flags": { "--global": "bool", "--path-matcher-name": "value", "--region": "dynamic" } }, "set-default-service": { "commands": {}, "flags": { "--default-backend-bucket": "value", "--default-service": "value", "--global": "bool", "--region": "dynamic" } } }, "flags": {} }, "vpn-gateways": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--network": "dynamic", "--region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "get-status": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--region": "dynamic", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "vpn-tunnels": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--ike-version": [ 1, 2 ], "--interface": [ 0, 1 ], "--local-traffic-selector": "value", "--peer-address": "value", "--peer-external-gateway": "dynamic", "--peer-external-gateway-interface": [ 0, 1, 2, 3 ], "--peer-gcp-gateway": "dynamic", "--peer-gcp-gateway-region": "dynamic", "--region": "dynamic", "--remote-traffic-selector": "value", "--router": "dynamic", "--router-region": "dynamic", "--shared-secret": "value", "--target-vpn-gateway": "dynamic", "--target-vpn-gateway-region": "dynamic", "--vpn-gateway": "dynamic", "--vpn-gateway-region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--region": "dynamic", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "zones": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "config": { "commands": { "configurations": { "commands": { "activate": { "commands": {}, "flags": {} }, "create": { "commands": {}, "flags": { "--activate": "bool" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": { "--all": "bool" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--sort-by": "value" } } }, "flags": {} }, "list": { "commands": {}, "flags": { "--all": "bool", "--filter": "value", "--limit": "value", "--sort-by": "value" } }, "set": { "commands": {}, "flags": { "--installation": "bool" } }, "unset": { "commands": {}, "flags": { "--installation": "bool" } } }, "flags": {} }, "container": { "commands": { "binauthz": { "commands": { "attestations": { "commands": { "create": { "commands": {}, "flags": { "--artifact-url": "value", "--attestor": "value", "--attestor-project": "value", "--payload-file": "value", "--public-key-id": "value", "--signature-file": "value", "--validate": "bool" } }, "list": { "commands": {}, "flags": { "--artifact-url": "value", "--attestor": "value", "--attestor-project": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "sign-and-create": { "commands": {}, "flags": { "--artifact-url": "value", "--attestor": "value", "--attestor-project": "value", "--keyversion": "value", "--keyversion-key": "value", "--keyversion-keyring": "value", "--keyversion-location": "value", "--keyversion-project": "value", "--public-key-id-override": "value", "--validate": "bool" } } }, "flags": {} }, "attestors": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--attestation-authority-note": "value", "--attestation-authority-note-project": "value", "--description": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "public-keys": { "commands": { "add": { "commands": {}, "flags": { "--attestor": "value", "--comment": "value", "--keyversion": "value", "--keyversion-key": "value", "--keyversion-keyring": "value", "--keyversion-location": "value", "--keyversion-project": "value", "--pgp-public-key-file": "value", "--pkix-public-key-algorithm": [ "ecdsa-p256-sha256", "ecdsa-p384-sha384", "ecdsa-p521-sha512", "rsa-pss-2048-sha256", "rsa-pss-3072-sha256", "rsa-pss-4096-sha256", "rsa-pss-4096-sha512", "rsa-sign-pkcs1-2048-sha256", "rsa-sign-pkcs1-3072-sha256", "rsa-sign-pkcs1-4096-sha256", "rsa-sign-pkcs1-4096-sha512" ], "--pkix-public-key-file": "value", "--public-key-id-override": "value" } }, "remove": { "commands": {}, "flags": { "--attestor": "value" } }, "update": { "commands": {}, "flags": { "--attestor": "value", "--comment": "value", "--pgp-public-key-file": "value" } } }, "flags": {} }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--description": "value" } } }, "flags": {} }, "create-signature-payload": { "commands": {}, "flags": { "--artifact-url": "value" } }, "policy": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "export": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "import": { "commands": {}, "flags": { "--strict-validation": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} } }, "flags": {} } }, "flags": {} }, "clusters": { "commands": { "create": { "commands": {}, "flags": { "--accelerator": "value", "--additional-zones": "value", "--addons": "value", "--allow-route-overlap": "bool", "--async": "bool", "--autoprovisioning-config-file": "value", "--autoprovisioning-locations": "value", "--autoprovisioning-scopes": "value", "--autoprovisioning-service-account": "value", "--autoscaling-profile": "value", "--boot-disk-kms-key": "value", "--cluster-ipv4-cidr": "value", "--cluster-secondary-range-name": "value", "--cluster-version": "value", "--create-subnetwork": "value", "--database-encryption-key": "value", "--datapath-provider": [ "advanced", "legacy" ], "--default-max-pods-per-node": "value", "--disable-default-snat": "bool", "--disk-size": "value", "--disk-type": [ "pd-ssd", "pd-standard" ], "--enable-autoprovisioning": "bool", "--enable-autorepair": "bool", "--enable-autoscaling": "bool", "--enable-autoupgrade": "bool", "--enable-basic-auth": "bool", "--enable-binauthz": "bool", "--enable-cloud-logging": "bool", "--enable-cloud-monitoring": "bool", "--enable-cloud-run-alpha": "bool", "--enable-cost-management": "bool", "--enable-intra-node-visibility": "bool", "--enable-ip-alias": "bool", "--enable-kubernetes-alpha": "bool", "--enable-legacy-authorization": "bool", "--enable-logging-monitoring-system-only": "bool", "--enable-master-authorized-networks": "bool", "--enable-network-egress-metering": "bool", "--enable-network-policy": "bool", "--enable-pod-security-policy": "bool", "--enable-private-endpoint": "bool", "--enable-private-nodes": "bool", "--enable-resource-consumption-metering": "bool", "--enable-shielded-nodes": "bool", "--enable-stackdriver-kubernetes": "bool", "--enable-tpu": "bool", "--enable-tpu-service-networking": "bool", "--enable-vertical-pod-autoscaling": "bool", "--image-type": "value", "--issue-client-certificate": "bool", "--istio-config": "value", "--labels": "value", "--linux-sysctls": "value", "--local-ssd-count": "value", "--local-ssd-volumes": "value", "--machine-type": "value", "--maintenance-window": "value", "--maintenance-window-end": "value", "--maintenance-window-recurrence": "value", "--maintenance-window-start": "value", "--master-authorized-networks": "value", "--master-ipv4-cidr": "value", "--max-accelerator": "value", "--max-cpu": "value", "--max-memory": "value", "--max-nodes": "value", "--max-nodes-per-pool": "value", "--max-pods-per-node": "value", "--max-surge-upgrade": "value", "--max-unavailable-upgrade": "value", "--metadata": "value", "--metadata-from-file": "value", "--min-accelerator": "value", "--min-cpu": "value", "--min-cpu-platform": "value", "--min-memory": "value", "--min-nodes": "value", "--network": "value", "--node-config": "value", "--node-labels": "value", "--node-locations": "value", "--node-pool-name": "value", "--node-taints": "value", "--node-version": "value", "--num-nodes": "value", "--password": "value", "--preemptible": "bool", "--private-cluster": "bool", "--region": "value", "--release-channel": [ "rapid", "regular", "stable" ], "--reservation": "value", "--reservation-affinity": [ "any", "none", "specific" ], "--resource-usage-bigquery-dataset": "value", "--scopes": "value", "--security-group": "value", "--security-profile": "value", "--security-profile-runtime-rules": "bool", "--service-account": "value", "--services-ipv4-cidr": "value", "--services-secondary-range-name": "value", "--shielded-integrity-monitoring": "bool", "--shielded-secure-boot": "bool", "--subnetwork": "value", "--tags": "value", "--tpu-ipv4-cidr": "value", "--username": "value", "--workload-metadata-from-node": [ "EXPOSED", "GCE_METADATA", "GKE_METADATA", "GKE_METADATA_SERVER", "SECURE" ], "--workload-pool": "value", "--zone": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--region": "value", "--zone": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value", "--zone": "value" } }, "get-credentials": { "commands": {}, "flags": { "--internal-ip": "bool", "--region": "value", "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--uri": "bool", "--zone": "value" } }, "resize": { "commands": {}, "flags": { "--async": "bool", "--node-pool": "value", "--num-nodes": "value", "--region": "value", "--size": "value", "--zone": "value" } }, "update": { "commands": {}, "flags": { "--add-maintenance-exclusion-end": "value", "--add-maintenance-exclusion-name": "value", "--add-maintenance-exclusion-start": "value", "--additional-zones": "value", "--async": "bool", "--autoprovisioning-config-file": "value", "--autoprovisioning-locations": "value", "--autoprovisioning-scopes": "value", "--autoprovisioning-service-account": "value", "--autoscaling-profile": "value", "--clear-maintenance-window": "bool", "--clear-resource-usage-bigquery-dataset": "bool", "--complete-credential-rotation": "bool", "--complete-ip-rotation": "bool", "--database-encryption-key": "value", "--disable-database-encryption": "bool", "--disable-default-snat": "bool", "--disable-workload-identity": "bool", "--enable-autoprovisioning": "bool", "--enable-autoscaling": "bool", "--enable-basic-auth": "bool", "--enable-binauthz": "bool", "--enable-cost-management": "bool", "--enable-intra-node-visibility": "bool", "--enable-legacy-authorization": "bool", "--enable-logging-monitoring-system-only": "bool", "--enable-master-authorized-networks": "bool", "--enable-network-egress-metering": "bool", "--enable-network-policy": "bool", "--enable-pod-security-policy": "bool", "--enable-resource-consumption-metering": "bool", "--enable-shielded-nodes": "bool", "--enable-stackdriver-kubernetes": "bool", "--enable-tpu": "bool", "--enable-tpu-service-networking": "bool", "--enable-vertical-pod-autoscaling": "bool", "--generate-password": "bool", "--istio-config": "value", "--logging-service": "value", "--maintenance-window": "value", "--maintenance-window-end": "value", "--maintenance-window-recurrence": "value", "--maintenance-window-start": "value", "--master-authorized-networks": "value", "--max-accelerator": "value", "--max-cpu": "value", "--max-memory": "value", "--max-nodes": "value", "--min-accelerator": "value", "--min-cpu": "value", "--min-memory": "value", "--min-nodes": "value", "--monitoring-service": "value", "--node-locations": "value", "--node-pool": "value", "--password": "value", "--region": "value", "--release-channel": [ "None", "rapid", "regular", "stable" ], "--remove-labels": "value", "--remove-maintenance-exclusion": "value", "--resource-usage-bigquery-dataset": "value", "--security-profile": "value", "--set-password": "bool", "--start-credential-rotation": "bool", "--start-ip-rotation": "bool", "--tpu-ipv4-cidr": "value", "--update-addons": "value", "--update-labels": "value", "--username": "value", "--workload-pool": "value", "--zone": "value" } }, "upgrade": { "commands": {}, "flags": { "--async": "bool", "--cluster-version": "value", "--concurrent-node-count": "value", "--image-type": "value", "--master": "bool", "--node-pool": "value", "--region": "value", "--security-profile": "value", "--security-profile-runtime-rules": "bool", "--zone": "value" } } }, "flags": { "--region": "value", "--zone": "value" } }, "get-server-config": { "commands": {}, "flags": { "--region": "value", "--zone": "value" } }, "hub": { "commands": { "features": { "commands": { "multiclusteringress": { "commands": { "describe": { "commands": {}, "flags": {} }, "disable": { "commands": {}, "flags": { "--force": "bool" } }, "enable": { "commands": {}, "flags": { "--config-membership": "value" } } }, "flags": {} } }, "flags": {} }, "memberships": { "commands": { "delete": { "commands": {}, "flags": { "--async": "bool", "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "register": { "commands": {}, "flags": { "--context": "value", "--gke-cluster": "value", "--gke-uri": "value", "--kubeconfig": "value", "--manifest-output-file": "value", "--proxy": "value", "--service-account-key-file": "value" } }, "unregister": { "commands": {}, "flags": { "--context": "value", "--gke-cluster": "value", "--gke-uri": "value", "--kubeconfig": "value" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--clear-labels": "bool", "--location": "value", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} } }, "flags": {} }, "images": { "commands": { "add-tag": { "commands": {}, "flags": {} }, "delete": { "commands": {}, "flags": { "--force-delete-tags": "bool" } }, "describe": { "commands": {}, "flags": { "--metadata-filter": "value", "--show-all-metadata": "bool", "--show-build-details": "bool", "--show-deployment": "bool", "--show-image-basis": "bool", "--show-package-vulnerability": "bool" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--repository": "value", "--sort-by": "value", "--uri": "bool" } }, "list-tags": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--occurrence-filter": "value", "--page-size": "value", "--show-occurrences": "bool", "--show-occurrences-from": "value", "--sort-by": "value" } }, "untag": { "commands": {}, "flags": {} } }, "flags": {} }, "memberships": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--description": "value", "--gke-cluster-self-link": "value", "--labels": "value", "--location": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "register": { "commands": {}, "flags": { "--context": "value", "--kubeconfig": "value", "--manifest-output-file": "value", "--proxy": "value", "--service-account-key-file": "value" } }, "unregister": { "commands": {}, "flags": { "--context": "value", "--kubeconfig": "value" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--clear-labels": "bool", "--description": "value", "--gke-cluster-self-link": "value", "--location": "value", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "node-pools": { "commands": { "create": { "commands": {}, "flags": { "--accelerator": "value", "--boot-disk-kms-key": "value", "--cluster": "value", "--disk-size": "value", "--disk-type": [ "pd-ssd", "pd-standard" ], "--enable-autoprovisioning": "bool", "--enable-autorepair": "bool", "--enable-autoscaling": "bool", "--enable-autoupgrade": "bool", "--image-type": "value", "--linux-sysctls": "value", "--local-ssd-count": "value", "--local-ssd-volumes": "value", "--machine-type": "value", "--max-nodes": "value", "--max-pods-per-node": "value", "--max-surge-upgrade": "value", "--max-unavailable-upgrade": "value", "--metadata": "value", "--metadata-from-file": "value", "--min-cpu-platform": "value", "--min-nodes": "value", "--node-config": "value", "--node-group": "value", "--node-labels": "value", "--node-locations": "value", "--node-taints": "value", "--node-version": "value", "--num-nodes": "value", "--preemptible": "bool", "--region": "value", "--reservation": "value", "--reservation-affinity": [ "any", "none", "specific" ], "--sandbox": "value", "--scopes": "value", "--service-account": "value", "--shielded-integrity-monitoring": "bool", "--shielded-secure-boot": "bool", "--tags": "value", "--workload-metadata-from-node": [ "EXPOSED", "GCE_METADATA", "GKE_METADATA", "GKE_METADATA_SERVER", "SECURE" ], "--zone": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--cluster": "value", "--region": "value", "--zone": "value" } }, "describe": { "commands": {}, "flags": { "--cluster": "value", "--region": "value", "--zone": "value" } }, "list": { "commands": {}, "flags": { "--cluster": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--uri": "bool", "--zone": "value" } }, "rollback": { "commands": {}, "flags": { "--async": "bool", "--cluster": "value", "--region": "value", "--zone": "value" } }, "update": { "commands": {}, "flags": { "--cluster": "value", "--enable-autoprovisioning": "bool", "--enable-autorepair": "bool", "--enable-autoscaling": "bool", "--enable-autoupgrade": "bool", "--max-nodes": "value", "--max-surge-upgrade": "value", "--max-unavailable-upgrade": "value", "--min-nodes": "value", "--node-locations": "value", "--region": "value", "--workload-metadata-from-node": [ "EXPOSED", "GCE_METADATA", "GKE_METADATA", "GKE_METADATA_SERVER", "SECURE" ], "--zone": "value" } } }, "flags": { "--region": "value", "--zone": "value" } }, "operations": { "commands": { "cancel": { "commands": {}, "flags": { "--region": "value", "--zone": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value", "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--zone": "value" } }, "wait": { "commands": {}, "flags": { "--region": "value", "--zone": "value" } } }, "flags": { "--region": "value", "--zone": "value" } }, "subnets": { "commands": { "list-usable": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--network-project": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "data-catalog": { "commands": { "crawler-runs": { "commands": { "describe": { "commands": {}, "flags": { "--crawler": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "start": { "commands": {}, "flags": {} } }, "flags": {} }, "crawlers": { "commands": { "create": { "commands": {}, "flags": { "--buckets": "value", "--bundle-specs": "value", "--crawl-scope": [ "bucket", "organization", "project" ], "--description": "value", "--display-name": "value", "--run-option": [ "manual", "scheduled" ], "--run-schedule": [ "daily", "weekly" ] } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--add-buckets": "value", "--add-bundle-specs": "value", "--clear-buckets": "bool", "--clear-bundle-specs": "bool", "--crawl-scope": [ "bucket", "organization", "project" ], "--description": "value", "--display-name": "value", "--remove-buckets": "value", "--remove-bundle-specs": "value", "--run-option": [ "manual", "scheduled" ], "--run-schedule": [ "daily", "weekly" ] } } }, "flags": {} }, "entries": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--display-name": "value", "--entry-group": "value", "--gcs-file-patterns": "value", "--location": "value", "--schema": "value", "--schema-from-file": "value" } }, "delete": { "commands": {}, "flags": { "--entry-group": "value", "--location": "value" } }, "describe": { "commands": {}, "flags": { "--entry-group": "value", "--location": "value" } }, "list": { "commands": {}, "flags": { "--entry-group": "value", "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "lookup": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--add-file-patterns": "value", "--clear-file-patterns": "bool", "--description": "value", "--display-name": "value", "--entry-group": "value", "--location": "value", "--lookup-entry": "value", "--remove-file-patterns": "value", "--schema": "value", "--schema-from-file": "value" } } }, "flags": {} }, "entry-groups": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--description": "value", "--display-name": "value", "--location": "value" } }, "delete": { "commands": {}, "flags": { "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--location": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--location": "value" } }, "update": { "commands": {}, "flags": { "--description": "value", "--display-name": "value", "--location": "value" } } }, "flags": {} }, "search": { "commands": {}, "flags": { "--include-gcp-public-datasets": "bool", "--include-organization-ids": "value", "--include-project-ids": "value", "--limit": "value", "--order-by": "value", "--page-size": "value" } }, "tag-templates": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--display-name": "value", "--field": "value", "--location": "value" } }, "delete": { "commands": {}, "flags": { "--force": "bool", "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "fields": { "commands": { "create": { "commands": {}, "flags": { "--display-name": "value", "--location": "value", "--tag-template": "value", "--type": "value" } }, "delete": { "commands": {}, "flags": { "--force": "bool", "--location": "value", "--tag-template": "value" } }, "rename": { "commands": {}, "flags": { "--location": "value", "--new-id": "value", "--tag-template": "value" } }, "update": { "commands": {}, "flags": { "--add-enum-values": "value", "--display-name": "value", "--location": "value", "--required": "bool", "--tag-template": "value" } } }, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--location": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--location": "value" } }, "update": { "commands": {}, "flags": { "--display-name": "value", "--location": "value" } } }, "flags": {} }, "tags": { "commands": { "create": { "commands": {}, "flags": { "--entry": "value", "--entry-group": "value", "--location": "value", "--scope": "value", "--tag-file": "value", "--tag-template": "value", "--tag-template-location": "value", "--tag-template-project": "value" } }, "delete": { "commands": {}, "flags": { "--entry": "value", "--entry-group": "value", "--location": "value" } }, "list": { "commands": {}, "flags": { "--entry": "value", "--entry-group": "value", "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--entry": "value", "--entry-group": "value", "--location": "value", "--tag-file": "value", "--tag-template": "value", "--tag-template-location": "value", "--tag-template-project": "value" } } }, "flags": {} } }, "flags": {} }, "dataflow": { "commands": { "jobs": { "commands": { "export-steps": { "commands": {}, "flags": { "--region": "value" } } }, "flags": {} }, "logs": { "commands": { "list": { "commands": {}, "flags": { "--after": "value", "--before": "value", "--filter": "value", "--importance": [ "debug", "detailed", "error", "warning" ], "--limit": "value", "--region": "value" } } }, "flags": {} }, "metrics": { "commands": { "list": { "commands": {}, "flags": { "--changed-after": "value", "--filter": "value", "--hide-committed": "bool", "--limit": "value", "--region": "value", "--source": [ "all", "service", "user" ], "--tentative": "bool", "--transform": "value" } } }, "flags": {} }, "sql": { "commands": { "query": { "commands": {}, "flags": { "--bigquery-dataset": "value", "--bigquery-project": "value", "--bigquery-table": "value", "--bigquery-write-disposition": [ "write-append", "write-empty", "write-truncate" ], "--dataflow-kms-key": "value", "--disable-public-ips": "bool", "--dry-run": "bool", "--job-name": "value", "--max-workers": "value", "--network": "value", "--num-workers": "value", "--parameter": "value", "--parameters-file": "value", "--pubsub-create-disposition": [ "create-if-not-found", "fail-if-not-found" ], "--pubsub-project": "value", "--pubsub-topic": "value", "--region": "value", "--service-account-email": "value", "--subnetwork": "value", "--worker-machine-type": "value", "--worker-region": "value", "--worker-zone": "value", "--zone": "value" } } }, "flags": {} } }, "flags": {} }, "dataproc": { "commands": { "autoscaling-policies": { "commands": { "delete": { "commands": {}, "flags": { "--region": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--region": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--region": "value" } }, "import": { "commands": {}, "flags": { "--region": "value", "--source": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--uri": "bool" } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "value" } } }, "flags": {} }, "clusters": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--autoscaling-policy": "value", "--bucket": "value", "--enable-component-gateway": "bool", "--expiration-time": "value", "--gce-pd-kms-key": "dynamic", "--gce-pd-kms-key-keyring": "dynamic", "--gce-pd-kms-key-location": "dynamic", "--gce-pd-kms-key-project": "dynamic", "--image": "value", "--image-version": "value", "--initialization-action-timeout": "value", "--initialization-actions": "value", "--kerberos-config-file": "value", "--kerberos-kms-key": "dynamic", "--kerberos-kms-key-keyring": "dynamic", "--kerberos-kms-key-location": "dynamic", "--kerberos-kms-key-project": "dynamic", "--kerberos-root-principal-password-uri": "value", "--labels": "value", "--master-accelerator": "value", "--master-boot-disk-size": "value", "--master-boot-disk-type": "value", "--master-machine-type": "value", "--master-min-cpu-platform": "value", "--max-age": "value", "--max-idle": "value", "--metadata": "value", "--network": "value", "--no-address": "bool", "--num-master-local-ssds": "value", "--num-masters": "value", "--num-secondary-worker-local-ssds": "value", "--num-secondary-workers": "value", "--num-worker-local-ssds": "value", "--num-workers": "value", "--optional-components": "value", "--properties": "value", "--region": "value", "--reservation": "value", "--reservation-affinity": [ "any", "none", "specific" ], "--scopes": "value", "--secondary-worker-accelerator": "value", "--secondary-worker-boot-disk-size": "value", "--secondary-worker-boot-disk-type": "value", "--service-account": "value", "--single-node": "bool", "--subnet": "value", "--tags": "value", "--worker-accelerator": "value", "--worker-boot-disk-size": "value", "--worker-boot-disk-type": "value", "--worker-machine-type": "value", "--worker-min-cpu-platform": "value", "--zone": "value" } }, "create-from-file": { "commands": {}, "flags": { "--async": "bool", "--file": "value", "--region": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--region": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value" } }, "diagnose": { "commands": {}, "flags": { "--region": "value" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--region": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } }, "import": { "commands": {}, "flags": { "--async": "bool", "--region": "value", "--source": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "value" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--autoscaling-policy": "value", "--clear-labels": "bool", "--disable-autoscaling": "bool", "--expiration-time": "value", "--graceful-decommission-timeout": "value", "--max-age": "value", "--max-idle": "value", "--no-max-age": "bool", "--no-max-idle": "bool", "--num-secondary-workers": "value", "--num-workers": "value", "--region": "value", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "jobs": { "commands": { "delete": { "commands": {}, "flags": { "--region": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } }, "kill": { "commands": {}, "flags": { "--region": "value" } }, "list": { "commands": {}, "flags": { "--cluster": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--state-filter": [ "active", "inactive" ] } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "value" } }, "submit": { "commands": { "hadoop": { "commands": {}, "flags": { "--archives": "value", "--async": "bool", "--bucket": "value", "--class": "value", "--cluster": "value", "--driver-log-levels": "value", "--files": "value", "--jar": "value", "--jars": "value", "--labels": "value", "--max-failures-per-hour": "value", "--properties": "value", "--region": "value" } }, "hive": { "commands": {}, "flags": { "--async": "bool", "--bucket": "value", "--cluster": "value", "--continue-on-failure": "bool", "--execute": "value", "--file": "value", "--jars": "value", "--labels": "value", "--max-failures-per-hour": "value", "--params": "value", "--properties": "value", "--region": "value" } }, "pig": { "commands": {}, "flags": { "--async": "bool", "--bucket": "value", "--cluster": "value", "--continue-on-failure": "bool", "--driver-log-levels": "value", "--execute": "value", "--file": "value", "--jars": "value", "--labels": "value", "--max-failures-per-hour": "value", "--params": "value", "--properties": "value", "--region": "value" } }, "presto": { "commands": {}, "flags": { "--async": "bool", "--bucket": "value", "--client-tags": "value", "--cluster": "value", "--continue-on-failure": "bool", "--driver-log-levels": "value", "--execute": "value", "--file": "value", "--labels": "value", "--max-failures-per-hour": "value", "--properties": "value", "--query-output-format": "value", "--region": "value" } }, "pyspark": { "commands": {}, "flags": { "--archives": "value", "--async": "bool", "--bucket": "value", "--cluster": "value", "--driver-log-levels": "value", "--files": "value", "--jars": "value", "--labels": "value", "--max-failures-per-hour": "value", "--properties": "value", "--py-files": "value", "--region": "value" } }, "spark": { "commands": {}, "flags": { "--archives": "value", "--async": "bool", "--bucket": "value", "--class": "value", "--cluster": "value", "--driver-log-levels": "value", "--files": "value", "--jar": "value", "--jars": "value", "--labels": "value", "--max-failures-per-hour": "value", "--properties": "value", "--region": "value" } }, "spark-r": { "commands": {}, "flags": { "--archives": "value", "--async": "bool", "--bucket": "value", "--cluster": "value", "--driver-log-levels": "value", "--files": "value", "--labels": "value", "--max-failures-per-hour": "value", "--properties": "value", "--region": "value" } }, "spark-sql": { "commands": {}, "flags": { "--async": "bool", "--bucket": "value", "--cluster": "value", "--driver-log-levels": "value", "--execute": "value", "--file": "value", "--jars": "value", "--labels": "value", "--max-failures-per-hour": "value", "--params": "value", "--properties": "value", "--region": "value" } } }, "flags": { "--async": "bool", "--bucket": "value", "--region": "value" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--region": "value", "--remove-labels": "value", "--update-labels": "value" } }, "wait": { "commands": {}, "flags": { "--region": "value" } } }, "flags": {} }, "operations": { "commands": { "cancel": { "commands": {}, "flags": { "--region": "value" } }, "delete": { "commands": {}, "flags": { "--region": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--cluster": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--state-filter": [ "active", "inactive" ] } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "value" } } }, "flags": {} }, "workflow-templates": { "commands": { "add-job": { "commands": { "hadoop": { "commands": {}, "flags": { "--archives": "value", "--class": "value", "--driver-log-levels": "value", "--files": "value", "--jar": "value", "--jars": "value", "--labels": "value", "--properties": "value", "--region": "value", "--start-after": "value", "--step-id": "value", "--workflow-template": "value" } }, "hive": { "commands": {}, "flags": { "--continue-on-failure": "bool", "--execute": "value", "--file": "value", "--jars": "value", "--labels": "value", "--params": "value", "--properties": "value", "--region": "value", "--start-after": "value", "--step-id": "value", "--workflow-template": "value" } }, "pig": { "commands": {}, "flags": { "--continue-on-failure": "bool", "--driver-log-levels": "value", "--execute": "value", "--file": "value", "--jars": "value", "--labels": "value", "--params": "value", "--properties": "value", "--region": "value", "--start-after": "value", "--step-id": "value", "--workflow-template": "value" } }, "presto": { "commands": {}, "flags": { "--client-tags": "value", "--continue-on-failure": "bool", "--driver-log-levels": "value", "--execute": "value", "--file": "value", "--labels": "value", "--properties": "value", "--query-output-format": "value", "--region": "value", "--start-after": "value", "--step-id": "value", "--workflow-template": "value" } }, "pyspark": { "commands": {}, "flags": { "--archives": "value", "--driver-log-levels": "value", "--files": "value", "--jars": "value", "--labels": "value", "--properties": "value", "--py-files": "value", "--region": "value", "--start-after": "value", "--step-id": "value", "--workflow-template": "value" } }, "spark": { "commands": {}, "flags": { "--archives": "value", "--class": "value", "--driver-log-levels": "value", "--files": "value", "--jar": "value", "--jars": "value", "--labels": "value", "--properties": "value", "--region": "value", "--start-after": "value", "--step-id": "value", "--workflow-template": "value" } }, "spark-r": { "commands": {}, "flags": { "--archives": "value", "--driver-log-levels": "value", "--files": "value", "--labels": "value", "--properties": "value", "--region": "value", "--start-after": "value", "--step-id": "value", "--workflow-template": "value" } }, "spark-sql": { "commands": {}, "flags": { "--driver-log-levels": "value", "--execute": "value", "--file": "value", "--jars": "value", "--labels": "value", "--params": "value", "--properties": "value", "--region": "value", "--start-after": "value", "--step-id": "value", "--workflow-template": "value" } } }, "flags": {} }, "create": { "commands": {}, "flags": { "--labels": "value", "--region": "value" } }, "delete": { "commands": {}, "flags": { "--region": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--region": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--region": "value" } }, "import": { "commands": {}, "flags": { "--region": "value", "--source": "value" } }, "instantiate": { "commands": {}, "flags": { "--async": "bool", "--parameters": "value", "--region": "value" } }, "instantiate-from-file": { "commands": {}, "flags": { "--async": "bool", "--file": "value", "--region": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } }, "remove-job": { "commands": {}, "flags": { "--region": "value", "--step-id": "value" } }, "run": { "commands": {}, "flags": { "--async": "bool", "--region": "value" } }, "set-cluster-selector": { "commands": {}, "flags": { "--cluster-labels": "value", "--region": "value" } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "value" } }, "set-managed-cluster": { "commands": {}, "flags": { "--autoscaling-policy": "value", "--bucket": "value", "--cluster-name": "value", "--enable-component-gateway": "bool", "--image": "value", "--image-version": "value", "--initialization-action-timeout": "value", "--initialization-actions": "value", "--kerberos-config-file": "value", "--kerberos-kms-key": "dynamic", "--kerberos-kms-key-keyring": "dynamic", "--kerberos-kms-key-location": "dynamic", "--kerberos-kms-key-project": "dynamic", "--kerberos-root-principal-password-uri": "value", "--labels": "value", "--master-accelerator": "value", "--master-boot-disk-size": "value", "--master-boot-disk-type": "value", "--master-machine-type": "value", "--master-min-cpu-platform": "value", "--metadata": "value", "--network": "value", "--no-address": "bool", "--num-master-local-ssds": "value", "--num-masters": "value", "--num-secondary-worker-local-ssds": "value", "--num-secondary-workers": "value", "--num-worker-local-ssds": "value", "--num-workers": "value", "--optional-components": "value", "--properties": "value", "--region": "value", "--reservation": "value", "--reservation-affinity": [ "any", "none", "specific" ], "--scopes": "value", "--secondary-worker-accelerator": "value", "--secondary-worker-boot-disk-size": "value", "--secondary-worker-boot-disk-type": "value", "--service-account": "value", "--single-node": "bool", "--subnet": "value", "--tags": "value", "--worker-accelerator": "value", "--worker-boot-disk-size": "value", "--worker-boot-disk-type": "value", "--worker-machine-type": "value", "--worker-min-cpu-platform": "value", "--zone": "value" } } }, "flags": {} } }, "flags": {} }, "datastore": { "commands": { "databases": { "commands": { "create": { "commands": {}, "flags": { "--region": "value" } } }, "flags": {} }, "export": { "commands": {}, "flags": { "--async": "bool", "--kinds": "value", "--namespaces": "value", "--operation-labels": "value" } }, "import": { "commands": {}, "flags": { "--async": "bool", "--kinds": "value", "--namespaces": "value", "--operation-labels": "value" } }, "indexes": { "commands": { "cleanup": { "commands": {}, "flags": {} }, "create": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "operations": { "commands": { "cancel": { "commands": {}, "flags": {} }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "deployment-manager": { "commands": { "deployments": { "commands": { "cancel-preview": { "commands": {}, "flags": { "--async": "bool", "--fingerprint": "value" } }, "create": { "commands": {}, "flags": { "--async": "bool", "--automatic-rollback-on-error": "bool", "--composite-type": "value", "--config": "value", "--create-policy": [ "acquire", "create", "create-or-acquire" ], "--credential": "value", "--description": "value", "--labels": "value", "--preview": "bool", "--properties": "value", "--template": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--delete-policy": [ "abandon", "delete" ] } }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--simple-list": "bool", "--sort-by": "value", "--uri": "bool" } }, "stop": { "commands": {}, "flags": { "--async": "bool", "--fingerprint": "value" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--composite-type": "value", "--config": "value", "--create-policy": [ "acquire", "create", "create-or-acquire" ], "--credential": "value", "--delete-policy": [ "abandon", "delete" ], "--description": "value", "--fingerprint": "value", "--manifest-id": "value", "--preview": "bool", "--properties": "value", "--remove-labels": "value", "--template": "value", "--update-labels": "value" } } }, "flags": {} }, "manifests": { "commands": { "describe": { "commands": {}, "flags": { "--deployment": "value" } }, "list": { "commands": {}, "flags": { "--deployment": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--simple-list": "bool", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--simple-list": "bool", "--sort-by": "value", "--uri": "bool" } }, "wait": { "commands": {}, "flags": {} } }, "flags": {} }, "resources": { "commands": { "describe": { "commands": {}, "flags": { "--deployment": "value" } }, "list": { "commands": {}, "flags": { "--deployment": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--simple-list": "bool", "--sort-by": "value", "--uri": "bool" } } }, "flags": { "--deployment": "value" } }, "type-providers": { "commands": { "create": { "commands": {}, "flags": { "--api-options-file": "value", "--async": "bool", "--description": "value", "--descriptor-url": "value", "--labels": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool" } }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--api-options-file": "value", "--async": "bool", "--description": "value", "--descriptor-url": "value", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "types": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--description": "value", "--labels": "value", "--status": [ "DEPRECATED", "EXPERIMENTAL", "SUPPORTED" ], "--template": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool" } }, "describe": { "commands": {}, "flags": { "--provider": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--provider": "value", "--provider-project": "value", "--sort-by": "value" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--description": "value", "--remove-labels": "value", "--status": [ "DEPRECATED", "EXPERIMENTAL", "SUPPORTED" ], "--update-labels": "value" } } }, "flags": {} } }, "flags": {} }, "dialogflow": { "commands": { "agent": { "commands": { "describe": { "commands": {}, "flags": {} }, "export": { "commands": {}, "flags": { "--async": "bool", "--destination": "value" } }, "import": { "commands": {}, "flags": { "--async": "bool", "--replace-all": "bool", "--source": "value" } }, "query": { "commands": {}, "flags": { "--audio-encoding": [ "audio-encoding-amr", "audio-encoding-amr-wb", "audio-encoding-flac", "audio-encoding-linear-16", "audio-encoding-mulaw", "audio-encoding-ogg-opus", "audio-encoding-speex-with-header-byte", "audio-encoding-unspecified" ], "--language": "value", "--query-audio-file": "value", "--query-text": "value", "--sample-rate": "value", "--session": "value" } }, "train": { "commands": {}, "flags": { "--async": "bool" } } }, "flags": {} }, "entity-types": { "commands": { "create": { "commands": {}, "flags": { "--auto-expand": "bool", "--display-name": "value", "--entities": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--add-entities": "value", "--auto-expand": "bool", "--clear-entities": "bool", "--display-name": "value", "--remove-entities": "value" } } }, "flags": {} }, "intents": { "commands": { "create": { "commands": {}, "flags": { "--display-name": "value", "--is-fallback": "bool", "--ml-enabled": "bool", "--other-properties": "value", "--priority": "value", "--responses": "value", "--training-phrases": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--is-fallback": "bool", "--ml-enabled": "bool", "--other-properties": "value", "--priority": "value", "--responses": "value", "--training-phrases": "value" } } }, "flags": {} } }, "flags": {} }, "dlp": { "commands": { "datasources": { "commands": { "bigquery": { "commands": { "analyze": { "commands": {}, "flags": { "--categorical-stat-field": "value", "--job-id": "value", "--numerical-stat-field": "value", "--output-table": "value", "--output-topics": "value", "--quasi-ids": "value", "--sensitive-attribute": "value" } }, "inspect": { "commands": {}, "flags": { "--exclude-info-types": "bool", "--identifying-fields": "value", "--include-quote": "bool", "--info-types": "value", "--job-id": "value", "--max-findings": "value", "--max-findings-per-item": "value", "--max-time": "value", "--min-likelihood": [ "likely", "possible", "unlikely", "very-likely", "very-unlikely" ], "--min-time": "value", "--output-table": "value", "--output-topics": "value" } } }, "flags": {} }, "datastore": { "commands": { "inspect": { "commands": {}, "flags": { "--exclude-info-types": "bool", "--include-quote": "bool", "--info-types": "value", "--job-id": "value", "--max-findings": "value", "--max-findings-per-item": "value", "--max-time": "value", "--min-likelihood": [ "likely", "possible", "unlikely", "very-likely", "very-unlikely" ], "--min-time": "value", "--output-table": "value", "--output-topics": "value" } } }, "flags": {} }, "gcs": { "commands": { "inspect": { "commands": {}, "flags": { "--exclude-info-types": "bool", "--file-size-limit": "value", "--include-quote": "bool", "--info-types": "value", "--job-id": "value", "--max-findings": "value", "--max-findings-per-item": "value", "--max-time": "value", "--min-likelihood": [ "likely", "possible", "unlikely", "very-likely", "very-unlikely" ], "--min-time": "value", "--output-table": "value", "--output-topics": "value" } } }, "flags": {} } }, "flags": {} }, "images": { "commands": { "inspect": { "commands": {}, "flags": { "--exclude-info-types": "bool", "--include-quote": "bool", "--info-types": "value", "--max-findings": "value", "--min-likelihood": [ "likely", "possible", "unlikely", "very-likely", "very-unlikely" ] } }, "redact": { "commands": {}, "flags": { "--include-quote": "bool", "--info-types": "value", "--min-likelihood": [ "likely", "possible", "unlikely", "very-likely", "very-unlikely" ], "--output-file": "value", "--redact-all-text": "bool", "--redact-color": "value" } } }, "flags": {} }, "job-triggers": { "commands": { "create": { "commands": {}, "flags": { "--datastore-kind": "value", "--description": "value", "--display-name": "value", "--exclude-info-types": "bool", "--include-quote": "bool", "--info-types": "value", "--input-table": "value", "--max-findings": "value", "--max-findings-per-item": "value", "--min-likelihood": [ "likely", "possible", "unlikely", "very-likely", "very-unlikely" ], "--output-table": "value", "--output-topics": "value", "--path": "value", "--trigger-schedule": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "jobs": { "commands": { "cancel": { "commands": {}, "flags": {} }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--job-type": [ "inspect", "risk-analysis" ], "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "text": { "commands": { "inspect": { "commands": {}, "flags": { "--content": "value", "--content-file": "value", "--exclude-info-types": "bool", "--include-quote": "bool", "--info-types": "value", "--max-findings": "value", "--min-likelihood": [ "likely", "possible", "unlikely", "very-likely", "very-unlikely" ] } }, "redact": { "commands": {}, "flags": { "--content": "value", "--content-file": "value", "--info-types": "value", "--min-likelihood": [ "likely", "possible", "unlikely", "very-likely", "very-unlikely" ], "--output-file": "value", "--remove-findings": "bool", "--replace-with-info-type": "bool", "--replacement-text": "value" } } }, "flags": {} } }, "flags": {} }, "dns": { "commands": { "active-peering-zones": { "commands": {}, "flags": {} }, "dns-keys": { "commands": { "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--sort-by": "value", "--zone": "dynamic" } } }, "flags": {} }, "managed-zones": { "commands": { "create": { "commands": {}, "flags": { "--denial-of-existence": [ "nsec", "nsec3" ], "--description": "value", "--dns-name": "value", "--dnssec-state": [ "off", "on", "transfer" ], "--forwarding-targets": "value", "--ksk-algorithm": [ "ecdsap256sha256", "ecdsap384sha384", "rsasha1", "rsasha256", "rsasha512" ], "--ksk-key-length": "value", "--labels": "value", "--managed-reverse-lookup": "bool", "--networks": "value", "--private-forwarding-targets": "value", "--service-directory-namespace": "value", "--target-network": "value", "--target-project": "value", "--visibility": [ "private", "public" ], "--zsk-algorithm": [ "ecdsap256sha256", "ecdsap384sha384", "rsasha1", "rsasha256", "rsasha512" ], "--zsk-key-length": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--clear-labels": "bool", "--denial-of-existence": [ "nsec", "nsec3" ], "--description": "value", "--dnssec-state": [ "off", "on", "transfer" ], "--forwarding-targets": "value", "--ksk-algorithm": [ "ecdsap256sha256", "ecdsap384sha384", "rsasha1", "rsasha256", "rsasha512" ], "--ksk-key-length": "value", "--managed-reverse-lookup": "bool", "--networks": "value", "--private-forwarding-targets": "value", "--remove-labels": "value", "--target-network": "value", "--target-project": "value", "--update-labels": "value", "--zsk-algorithm": [ "ecdsap256sha256", "ecdsap384sha384", "rsasha1", "rsasha256", "rsasha512" ], "--zsk-key-length": "value" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--sort-by": "value", "--zones": "dynamic" } } }, "flags": {} }, "policies": { "commands": { "create": { "commands": {}, "flags": { "--alternative-name-servers": "value", "--description": "value", "--enable-inbound-forwarding": "bool", "--enable-logging": "bool", "--networks": "value", "--private-alternative-name-servers": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--alternative-name-servers": "value", "--description": "value", "--enable-inbound-forwarding": "bool", "--enable-logging": "bool", "--networks": "value", "--private-alternative-name-servers": "value" } } }, "flags": {} }, "project-info": { "commands": { "describe": { "commands": {}, "flags": {} } }, "flags": {} }, "record-sets": { "commands": { "changes": { "commands": { "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--sort-order": [ "ascending", "descending" ], "--uri": "bool", "--zone": "dynamic" } } }, "flags": {} }, "export": { "commands": {}, "flags": { "--zone": "dynamic", "--zone-file-format": "bool" } }, "import": { "commands": {}, "flags": { "--delete-all-existing": "bool", "--replace-origin-ns": "bool", "--zone": "dynamic", "--zone-file-format": "bool" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--name": "value", "--page-size": "value", "--sort-by": "value", "--type": "value", "--uri": "bool", "--zone": "dynamic" } }, "transaction": { "commands": { "abort": { "commands": {}, "flags": { "--transaction-file": "value", "--zone": "dynamic" } }, "add": { "commands": {}, "flags": { "--name": "value", "--transaction-file": "value", "--ttl": "value", "--type": "value", "--zone": "dynamic" } }, "describe": { "commands": {}, "flags": { "--transaction-file": "value", "--zone": "dynamic" } }, "execute": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--transaction-file": "value", "--uri": "bool", "--zone": "dynamic" } }, "remove": { "commands": {}, "flags": { "--name": "value", "--transaction-file": "value", "--ttl": "value", "--type": "value", "--zone": "dynamic" } }, "start": { "commands": {}, "flags": { "--transaction-file": "value", "--zone": "dynamic" } } }, "flags": { "--transaction-file": "value" } } }, "flags": {} } }, "flags": {} }, "domains": { "commands": { "registrations": { "commands": { "authorization-code": { "commands": { "get": { "commands": {}, "flags": {} }, "reset": { "commands": {}, "flags": {} } }, "flags": {} }, "check-availability": { "commands": {}, "flags": {} }, "create": { "commands": {}, "flags": { "--async": "bool", "--cloud-dns-zone": "value", "--labels": "value", "--name-servers": "value", "--registrant-contact-from-file": "value", "--validate-only": "bool", "--whois-privacy": [ "publish-redacted-contact-data", "use-whois-privacy-proxy" ] } }, "describe": { "commands": {}, "flags": {} }, "detach": { "commands": {}, "flags": { "--async": "bool" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "operations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "wait": { "commands": {}, "flags": {} } }, "flags": {} }, "search-domains": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--async": "bool", "--clear-labels": "bool", "--cloud-dns-zone": "value", "--name-servers": "value", "--registrant-contact-from-file": "value", "--remove-labels": "value", "--update-labels": "value", "--validate-only": "bool", "--whois-privacy": [ "publish-redacted-contact-data", "use-whois-privacy-proxy" ] } } }, "flags": {} } }, "flags": {} }, "emulators": { "commands": { "bigtable": { "commands": { "env-init": { "commands": {}, "flags": {} }, "start": { "commands": {}, "flags": { "--host-port": "value" } } }, "flags": {} }, "datastore": { "commands": { "env-init": { "commands": {}, "flags": { "--data-dir": "value" } }, "env-unset": { "commands": {}, "flags": { "--data-dir": "value" } }, "start": { "commands": {}, "flags": { "--consistency": "value", "--data-dir": "value", "--host-port": "value", "--store-on-disk": "bool" } } }, "flags": { "--data-dir": "value" } }, "firestore": { "commands": { "start": { "commands": {}, "flags": { "--host-port": "value", "--rules": "value" } } }, "flags": {} }, "pubsub": { "commands": { "env-init": { "commands": {}, "flags": { "--data-dir": "value" } }, "start": { "commands": {}, "flags": { "--data-dir": "value", "--host-port": "value" } } }, "flags": { "--data-dir": "value" } }, "start": { "commands": {}, "flags": { "--emulators": "value", "--proxy-port": "value", "--route-to-public": "value" } } }, "flags": {} }, "endpoints": { "commands": { "configs": { "commands": { "describe": { "commands": {}, "flags": { "--service": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--service": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--service": "dynamic", "--sort-by": "value", "--uri": "bool" } }, "wait": { "commands": {}, "flags": {} } }, "flags": {} }, "quota": { "commands": { "create": { "commands": {}, "flags": { "--consumer": "value", "--dimensions": "value", "--force": "bool", "--metric": "value", "--service": "value", "--unit": "value", "--value": "value" } }, "delete": { "commands": {}, "flags": { "--consumer": "value", "--force": "bool", "--metric": "value", "--override-id": "value", "--service": "value", "--unit": "value" } }, "list": { "commands": {}, "flags": { "--consumer": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--service": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--consumer": "value", "--dimensions": "value", "--force": "bool", "--metric": "value", "--override-id": "value", "--service": "value", "--unit": "value", "--value": "value" } } }, "flags": {} }, "services": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "check-iam-policy": { "commands": {}, "flags": {} }, "delete": { "commands": {}, "flags": { "--async": "bool" } }, "deploy": { "commands": {}, "flags": { "--async": "bool", "--force": "bool", "--validate-only": "bool" } }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "undelete": { "commands": {}, "flags": { "--async": "bool" } } }, "flags": {} } }, "flags": {} }, "filestore": { "commands": { "backups": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--file-share": "value", "--instance": "value", "--instance-zone": "value", "--labels": "value", "--region": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--region": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--clear-labels": "bool", "--description": "value", "--region": "value", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "instances": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--description": "value", "--file-share": "value", "--labels": "value", "--location": "value", "--network": "value", "--tier": [ "premium", "standard" ], "--zone": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--location": "value", "--zone": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value", "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool", "--zone": "value" } } }, "flags": {} }, "locations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": { "--location": "value", "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool", "--zone": "value" } } }, "flags": {} }, "regions": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} }, "snapshots": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--file-share": "value", "--instance": "value", "--instance-zone": "value", "--labels": "value", "--region": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--region": "value", "--zone": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value", "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--uri": "bool", "--zone": "value" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--clear-labels": "bool", "--description": "value", "--region": "value", "--remove-labels": "value", "--update-labels": "value", "--zone": "value" } } }, "flags": {} }, "zones": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} } }, "flags": {} }, "firebase": { "commands": { "test": { "commands": { "android": { "commands": { "locales": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} }, "models": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} }, "run": { "commands": {}, "flags": { "--additional-apks": "value", "--app": "value", "--app-package": "value", "--async": "bool", "--auto-google-login": "bool", "--client-details": "value", "--device": "value", "--device-ids": "value", "--directories-to-pull": "value", "--environment-variables": "value", "--filter": "value", "--limit": "value", "--locales": "value", "--network-profile": "value", "--num-flaky-test-attempts": "value", "--num-uniform-shards": "value", "--obb-files": "value", "--orientations": "dynamic", "--os-version-ids": "value", "--other-files": "value", "--page-size": "value", "--performance-metrics": "bool", "--record-video": "bool", "--results-bucket": "value", "--results-dir": "value", "--results-history-name": "value", "--robo-directives": "value", "--robo-script": "value", "--scenario-labels": "value", "--scenario-numbers": "value", "--sort-by": "value", "--test": "value", "--test-package": "value", "--test-runner-class": "value", "--test-targets": "value", "--test-targets-for-shard": "value", "--timeout": "value", "--type": [ "game-loop", "instrumentation", "robo" ], "--use-orchestrator": "bool" } }, "versions": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} } }, "flags": {} }, "ios": { "commands": { "locales": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} }, "models": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} }, "run": { "commands": {}, "flags": { "--app": "value", "--async": "bool", "--client-details": "value", "--device": "value", "--filter": "value", "--limit": "value", "--num-flaky-test-attempts": "value", "--page-size": "value", "--record-video": "bool", "--results-bucket": "value", "--results-dir": "value", "--results-history-name": "value", "--scenario-numbers": "value", "--sort-by": "value", "--test": "value", "--timeout": "value", "--type": [ "game-loop", "xctest" ], "--xcode-version": "value", "--xctestrun-file": "value" } }, "versions": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} } }, "flags": {} }, "network-profiles": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} } }, "flags": {} } }, "flags": {} }, "firestore": { "commands": { "databases": { "commands": { "create": { "commands": {}, "flags": { "--region": "value" } } }, "flags": {} }, "export": { "commands": {}, "flags": { "--async": "bool", "--collection-ids": "value" } }, "import": { "commands": {}, "flags": { "--async": "bool", "--collection-ids": "value" } }, "indexes": { "commands": { "composite": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--collection-group": "value", "--field-config": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "fields": { "commands": { "describe": { "commands": {}, "flags": { "--collection-group": "value" } }, "list": { "commands": {}, "flags": { "--collection-group": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--clear-exemption": "bool", "--collection-group": "value", "--disable-indexes": "bool", "--index": "value" } } }, "flags": {} } }, "flags": {} }, "operations": { "commands": { "cancel": { "commands": {}, "flags": {} }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "functions": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--region": "dynamic", "--role": "value" } }, "call": { "commands": {}, "flags": { "--data": "value", "--region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "deploy": { "commands": {}, "flags": { "--allow-unauthenticated": "bool", "--build-worker-pool": "value", "--clear-build-worker-pool": "bool", "--clear-env-vars": "bool", "--clear-labels": "bool", "--clear-max-instances": "bool", "--clear-vpc-connector": "bool", "--egress-settings": [ "all", "private-ranges-only" ], "--entry-point": "value", "--env-vars-file": "value", "--ignore-file": "value", "--ingress-settings": [ "all", "internal-only" ], "--max-instances": "value", "--memory": "value", "--region": "dynamic", "--remove-env-vars": "value", "--remove-labels": "value", "--retry": "bool", "--runtime": "value", "--service-account": "value", "--set-env-vars": "value", "--source": "value", "--stage-bucket": "value", "--timeout": "value", "--trigger-bucket": "value", "--trigger-event": "value", "--trigger-http": "bool", "--trigger-resource": "value", "--trigger-topic": "value", "--update-env-vars": "value", "--update-labels": "value", "--vpc-connector": "value" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "event-types": { "commands": { "list": { "commands": {}, "flags": {} } }, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "logs": { "commands": { "read": { "commands": {}, "flags": { "--end-time": "value", "--execution-id": "value", "--filter": "value", "--limit": "value", "--min-log-level": [ "debug", "error", "info" ], "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--start-time": "value", "--uri": "bool" } } }, "flags": {} }, "regions": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--region": "dynamic", "--role": "value" } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "dynamic" } } }, "flags": {} }, "game": { "commands": { "locations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": { "--location": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "servers": { "commands": { "clusters": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--dry-run": "bool", "--gke-cluster": "value", "--hub-membership": "value", "--labels": "value", "--location": "value", "--namespace": "value", "--preview-time": "value", "--realm": "value" } }, "delete": { "commands": {}, "flags": { "--dry-run": "bool", "--location": "value", "--preview-time": "value", "--realm": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value", "--realm": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--realm": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--dry-run": "bool", "--location": "value", "--preview-time": "value", "--realm": "value", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "configs": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--deployment": "value", "--description": "value", "--fleet-configs-file": "value", "--labels": "value", "--location": "value", "--scaling-configs-file": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--deployment": "value", "--location": "value" } }, "describe": { "commands": {}, "flags": { "--deployment": "value", "--location": "value" } }, "list": { "commands": {}, "flags": { "--deployment": "value", "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "deployments": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--description": "value", "--labels": "value", "--location": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "describe-rollout": { "commands": {}, "flags": { "--location": "value" } }, "fetch-state": { "commands": {}, "flags": { "--location": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--clear-labels": "bool", "--location": "value", "--remove-labels": "value", "--update-labels": "value" } }, "update-rollout": { "commands": {}, "flags": { "--clear-config-overrides": "bool", "--clear-default-config": "bool", "--config-overrides-file": "value", "--default-config": "value", "--dry-run": "bool", "--location": "value", "--preview-time": "value" } } }, "flags": {} }, "realms": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--description": "value", "--labels": "value", "--location": "value", "--time-zone": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--dry-run": "bool", "--location": "value", "--preview-time": "value", "--remove-labels": "value", "--time-zone": "value", "--update-labels": "value" } } }, "flags": {} } }, "flags": {} } }, "flags": {} }, "genomics": { "commands": { "operations": { "commands": { "cancel": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--where": "value" } }, "wait": { "commands": {}, "flags": {} } }, "flags": {} }, "pipelines": { "commands": { "run": { "commands": {}, "flags": { "--boot-disk-size": "value", "--command-line": "value", "--cpus": "value", "--disk-size": "value", "--docker-image": "value", "--env-vars": "value", "--inputs": "value", "--inputs-from-file": "value", "--labels": "value", "--logging": "value", "--memory": "value", "--network": "value", "--outputs": "value", "--pipeline-file": "value", "--preemptible": "bool", "--regions": "value", "--service-account-email": "value", "--service-account-scopes": "value", "--subnetwork": "value", "--zones": "value" } } }, "flags": {} } }, "flags": {} }, "healthcare": { "commands": { "annotation-stores": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--dataset": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--dataset": "value", "--location": "value" } }, "delete": { "commands": {}, "flags": { "--dataset": "value", "--location": "value" } }, "describe": { "commands": {}, "flags": { "--dataset": "value", "--location": "value" } }, "evaluate": { "commands": { "bq": { "commands": {}, "flags": { "--async": "bool", "--bq-table": "value", "--dataset": "value", "--golden-store": "value", "--location": "value" } } }, "flags": {} }, "export": { "commands": { "bq": { "commands": {}, "flags": { "--async": "bool", "--bq-table": "value", "--dataset": "value", "--location": "value" } }, "gcs": { "commands": {}, "flags": { "--async": "bool", "--dataset": "value", "--gcs-uri": "value", "--location": "value" } } }, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--dataset": "value", "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "import": { "commands": { "gcs": { "commands": {}, "flags": { "--async": "bool", "--dataset": "value", "--gcs-uri": "value", "--location": "value" } } }, "flags": {} }, "list": { "commands": {}, "flags": { "--dataset": "value", "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--dataset": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--dataset": "value", "--location": "value" } }, "update": { "commands": {}, "flags": { "--dataset": "value", "--location": "value" } } }, "flags": {} }, "datasets": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--async": "bool", "--location": "value", "--time-zone": "value" } }, "deidentify": { "commands": {}, "flags": { "--async": "bool", "--default-fhir-config": "bool", "--destination-dataset": "value", "--dicom-filter-tags": "value", "--location": "value", "--text-redaction-mode": [ "all" ] } }, "delete": { "commands": {}, "flags": { "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--location": "value" } }, "update": { "commands": {}, "flags": { "--location": "value", "--time-zone": "value" } } }, "flags": {} }, "dicom-stores": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--dataset": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--dataset": "value", "--location": "value", "--pubsub-topic": "value" } }, "delete": { "commands": {}, "flags": { "--dataset": "value", "--location": "value" } }, "describe": { "commands": {}, "flags": { "--dataset": "value", "--location": "value" } }, "export": { "commands": { "bq": { "commands": {}, "flags": { "--async": "bool", "--bq-table": "value", "--dataset": "value", "--location": "value", "--overwrite-table": "bool" } }, "gcs": { "commands": {}, "flags": { "--async": "bool", "--dataset": "value", "--gcs-uri-prefix": "value", "--location": "value", "--mime-type": "value" } } }, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--dataset": "value", "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "import": { "commands": { "gcs": { "commands": {}, "flags": { "--async": "bool", "--dataset": "value", "--gcs-uri": "value", "--location": "value" } } }, "flags": {} }, "list": { "commands": {}, "flags": { "--dataset": "value", "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--dataset": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--dataset": "value", "--location": "value" } }, "update": { "commands": {}, "flags": { "--dataset": "value", "--location": "value", "--pubsub-topic": "value" } } }, "flags": {} }, "fhir-stores": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--dataset": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--dataset": "value", "--disable-referential-integrity": "bool", "--disable-resource-versioning": "bool", "--enable-update-create": "bool", "--location": "value", "--pubsub-topic": "value" } }, "delete": { "commands": {}, "flags": { "--dataset": "value", "--location": "value" } }, "describe": { "commands": {}, "flags": { "--dataset": "value", "--location": "value" } }, "export": { "commands": { "bq": { "commands": {}, "flags": { "--async": "bool", "--bq-dataset": "value", "--dataset": "value", "--location": "value", "--recursive-depth": "value", "--schema-type": [ "analytics", "lossless" ] } }, "gcs": { "commands": {}, "flags": { "--async": "bool", "--dataset": "value", "--gcs-uri": "value", "--location": "value" } } }, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--dataset": "value", "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "import": { "commands": { "gcs": { "commands": {}, "flags": { "--async": "bool", "--content-structure": [ "bundle", "bundle-pretty", "resource", "resource-pretty" ], "--dataset": "value", "--error-gcs-uri": "value", "--gcs-uri": "value", "--location": "value" } } }, "flags": {} }, "list": { "commands": {}, "flags": { "--dataset": "value", "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--dataset": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--dataset": "value", "--location": "value" } }, "update": { "commands": {}, "flags": { "--dataset": "value", "--enable-update-create": "bool", "--location": "value", "--pubsub-topic": "value" } } }, "flags": {} }, "hl7v2-stores": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--dataset": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--dataset": "value", "--location": "value", "--pubsub-topic": "value" } }, "delete": { "commands": {}, "flags": { "--dataset": "value", "--location": "value" } }, "describe": { "commands": {}, "flags": { "--dataset": "value", "--location": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--dataset": "value", "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--dataset": "value", "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--dataset": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--dataset": "value", "--location": "value" } }, "update": { "commands": {}, "flags": { "--dataset": "value", "--location": "value", "--pubsub-topic": "value" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": { "--dataset": "value", "--location": "value" } }, "list": { "commands": {}, "flags": { "--dataset": "value", "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "help": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "iam": { "commands": { "list-grantable-roles": { "commands": {}, "flags": { "--filter": "value", "--page-size": "value" } }, "list-testable-permissions": { "commands": {}, "flags": { "--filter": "value" } }, "policies": { "commands": { "lint-condition": { "commands": {}, "flags": { "--condition-from-file": "value", "--description": "value", "--expression": "value", "--resource-name": "value", "--title": "value" } } }, "flags": {} }, "roles": { "commands": { "copy": { "commands": {}, "flags": { "--dest-organization": "value", "--dest-project": "value", "--destination": "value", "--source": "value", "--source-organization": "value", "--source-project": "value" } }, "create": { "commands": {}, "flags": { "--description": "value", "--file": "value", "--organization": "value", "--permissions": "value", "--stage": "value", "--title": "value" } }, "delete": { "commands": {}, "flags": { "--organization": "value" } }, "describe": { "commands": {}, "flags": { "--organization": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--organization": "value", "--show-deleted": "bool", "--sort-by": "value" } }, "undelete": { "commands": {}, "flags": { "--organization": "value" } }, "update": { "commands": {}, "flags": { "--add-permissions": "value", "--description": "value", "--file": "value", "--organization": "value", "--permissions": "value", "--remove-permissions": "value", "--stage": "value", "--title": "value" } } }, "flags": {} }, "service-accounts": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--description": "value", "--display-name": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "disable": { "commands": {}, "flags": {} }, "enable": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "keys": { "commands": { "create": { "commands": {}, "flags": { "--iam-account": "value", "--key-file-type": [ "json", "p12" ] } }, "delete": { "commands": {}, "flags": { "--iam-account": "value" } }, "get-public-key": { "commands": {}, "flags": { "--iam-account": "value", "--output-file": "value", "--type": [ "pem", "raw" ] } }, "list": { "commands": {}, "flags": { "--created-before": "value", "--filter": "value", "--iam-account": "value", "--limit": "value", "--managed-by": [ "any", "system", "user" ], "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "upload": { "commands": {}, "flags": { "--iam-account": "dynamic" } } }, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "sign-blob": { "commands": {}, "flags": { "--iam-account": "value" } }, "sign-jwt": { "commands": {}, "flags": { "--iam-account": "value" } }, "undelete": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--description": "value", "--display-name": "value" } } }, "flags": {} } }, "flags": {} }, "iap": { "commands": { "oauth-brands": { "commands": { "create": { "commands": {}, "flags": { "--application_title": "value", "--support_email": "value" } }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} }, "oauth-clients": { "commands": { "create": { "commands": {}, "flags": { "--display_name": "value" } }, "delete": { "commands": {}, "flags": { "--brand": "value" } }, "describe": { "commands": {}, "flags": { "--brand": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "reset-secret": { "commands": {}, "flags": { "--brand": "value" } } }, "flags": {} }, "web": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--resource-type": [ "app-engine", "backend-services" ], "--role": "value", "--service": "value" } }, "disable": { "commands": {}, "flags": { "--resource-type": [ "app-engine", "backend-services" ], "--service": "value" } }, "enable": { "commands": {}, "flags": { "--oauth2-client-id": "value", "--oauth2-client-secret": "value", "--resource-type": [ "app-engine", "backend-services" ], "--service": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--resource-type": [ "app-engine", "backend-services" ], "--service": "value", "--sort-by": "value" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--resource-type": [ "app-engine", "backend-services" ], "--role": "value", "--service": "value" } }, "set-iam-policy": { "commands": {}, "flags": { "--resource-type": [ "app-engine", "backend-services" ], "--service": "value" } } }, "flags": {} } }, "flags": {} }, "identity": { "commands": { "groups": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--display-name": "value", "--dynamic-user-query": "value", "--labels": "value", "--organization": "value", "--with-initial-owner": [ "initial-group-config-unspecified", "with-initial-owner" ] } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "memberships": { "commands": { "add": { "commands": {}, "flags": { "--expiration": "value", "--group-email": "value", "--member-email": "value", "--organization": "value", "--roles": "value" } }, "delete": { "commands": {}, "flags": { "--group-email": "value", "--member-email": "value" } }, "describe": { "commands": {}, "flags": { "--group-email": "value", "--member-email": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--group-email": "value", "--limit": "value", "--page-size": "value", "--page-token": "value", "--sort-by": "value", "--view": [ "basic", "full" ] } }, "modify-membership-roles": { "commands": {}, "flags": { "--add-roles": "value", "--group-email": "value", "--member-email": "value", "--remove-roles": "value", "--update-roles-params": "value" } } }, "flags": {} }, "preview": { "commands": {}, "flags": { "--custom-field-mask": "value", "--customer": "value", "--max-results": "value", "--page-token": "value", "--projection": [ "basic", "custom", "full" ], "--query": "value", "--view-type": [ "admin-view", "domain-public" ] } }, "search": { "commands": {}, "flags": { "--labels": "value", "--organization": "value", "--page-size": "value", "--page-token": "value", "--view": [ "basic", "full" ] } }, "update": { "commands": {}, "flags": { "--clear-description": "bool", "--clear-display-name": "bool", "--description": "value", "--display-name": "value" } } }, "flags": {} } }, "flags": {} }, "init": { "commands": {}, "flags": { "--console-only": "bool", "--skip-diagnostics": "bool" } }, "interactive": { "commands": {}, "flags": { "--context": "value" } }, "iot": { "commands": { "devices": { "commands": { "commands": { "commands": { "send": { "commands": {}, "flags": { "--command-data": "value", "--command-file": "value", "--device": "dynamic", "--region": "value", "--registry": "dynamic", "--subfolder": "value" } } }, "flags": {} }, "configs": { "commands": { "describe": { "commands": {}, "flags": { "--device": "dynamic", "--region": "value", "--registry": "dynamic" } }, "get-value": { "commands": {}, "flags": { "--device": "dynamic", "--region": "value", "--registry": "dynamic" } }, "list": { "commands": {}, "flags": { "--device": "dynamic", "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--registry": "dynamic", "--sort-by": "value" } }, "update": { "commands": {}, "flags": { "--config-data": "value", "--config-file": "value", "--device": "dynamic", "--region": "value", "--registry": "dynamic", "--version-to-update": "value" } } }, "flags": {} }, "create": { "commands": {}, "flags": { "--auth-method": [ "association-and-device-auth-token", "association-only", "device-auth-token-only" ], "--blocked": "bool", "--device-type": [ "gateway", "non-gateway" ], "--log-level": [ "debug", "error", "info", "none" ], "--metadata": "value", "--metadata-from-file": "value", "--public-key": "value", "--region": "value", "--registry": "dynamic" } }, "credentials": { "commands": { "clear": { "commands": {}, "flags": { "--device": "dynamic", "--region": "value", "--registry": "dynamic" } }, "create": { "commands": {}, "flags": { "--device": "dynamic", "--expiration-time": "value", "--path": "value", "--region": "value", "--registry": "dynamic", "--type": [ "es256", "es256-pem", "es256-x509-pem", "rs256", "rsa-pem", "rsa-x509-pem" ] } }, "delete": { "commands": {}, "flags": { "--device": "dynamic", "--region": "value", "--registry": "dynamic" } }, "describe": { "commands": {}, "flags": { "--device": "dynamic", "--region": "value", "--registry": "dynamic" } }, "list": { "commands": {}, "flags": { "--device": "dynamic", "--filter": "value", "--limit": "value", "--region": "value", "--registry": "dynamic", "--sort-by": "value" } }, "update": { "commands": {}, "flags": { "--device": "dynamic", "--expiration-time": "value", "--region": "value", "--registry": "dynamic" } } }, "flags": {} }, "delete": { "commands": {}, "flags": { "--region": "value", "--registry": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "value", "--registry": "dynamic" } }, "gateways": { "commands": { "bind": { "commands": {}, "flags": { "--device": "dynamic", "--device-region": "value", "--device-registry": "dynamic", "--gateway": "dynamic", "--gateway-region": "value", "--gateway-registry": "dynamic" } }, "list-bound-devices": { "commands": {}, "flags": { "--filter": "value", "--gateway": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--registry": "dynamic", "--sort-by": "value" } }, "unbind": { "commands": {}, "flags": { "--device": "dynamic", "--device-region": "value", "--device-registry": "dynamic", "--gateway": "dynamic", "--gateway-region": "value", "--gateway-registry": "dynamic" } } }, "flags": {} }, "list": { "commands": {}, "flags": { "--device-ids": "value", "--device-num-ids": "value", "--device-type": [ "gateway", "non-gateway" ], "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--registry": "dynamic", "--sort-by": "value", "--uri": "bool" } }, "states": { "commands": { "list": { "commands": {}, "flags": { "--device": "dynamic", "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--registry": "dynamic", "--sort-by": "value" } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--auth-method": [ "association-and-device-auth-token", "association-only", "device-auth-token-only" ], "--blocked": "bool", "--log-level": [ "debug", "error", "info", "none" ], "--metadata": "value", "--metadata-from-file": "value", "--region": "value", "--registry": "dynamic" } } }, "flags": {} }, "registries": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--region": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--enable-http-config": "bool", "--enable-mqtt-config": "bool", "--event-notification-config": "value", "--log-level": [ "debug", "error", "info", "none" ], "--public-key-path": "value", "--region": "value", "--state-pubsub-topic": "value" } }, "credentials": { "commands": { "clear": { "commands": {}, "flags": { "--region": "value", "--registry": "dynamic" } }, "create": { "commands": {}, "flags": { "--path": "value", "--region": "value", "--registry": "dynamic" } }, "delete": { "commands": {}, "flags": { "--region": "value", "--registry": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "value", "--registry": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--region": "value", "--registry": "dynamic", "--sort-by": "value" } } }, "flags": {} }, "delete": { "commands": {}, "flags": { "--region": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--region": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "value" } }, "update": { "commands": {}, "flags": { "--enable-http-config": "bool", "--enable-mqtt-config": "bool", "--event-notification-config": "value", "--log-level": [ "debug", "error", "info", "none" ], "--region": "value", "--state-pubsub-topic": "value" } } }, "flags": {} } }, "flags": {} }, "kms": { "commands": { "asymmetric-decrypt": { "commands": {}, "flags": { "--ciphertext-file": "value", "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic", "--plaintext-file": "value" } }, "asymmetric-sign": { "commands": {}, "flags": { "--digest-algorithm": [ "sha256", "sha384", "sha512" ], "--input-file": "value", "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic", "--signature-file": "value" } }, "decrypt": { "commands": {}, "flags": { "--additional-authenticated-data-file": "value", "--ciphertext-file": "value", "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic", "--plaintext-file": "value" } }, "encrypt": { "commands": {}, "flags": { "--additional-authenticated-data-file": "value", "--ciphertext-file": "value", "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic", "--plaintext-file": "value" } }, "import-jobs": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--keyring": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--import-method": [ "rsa-oaep-3072-sha1-aes-256", "rsa-oaep-4096-sha1-aes-256" ], "--keyring": "dynamic", "--location": "dynamic", "--protection-level": [ "hsm", "software" ] } }, "describe": { "commands": {}, "flags": { "--attestation-file": "value", "--keyring": "dynamic", "--location": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--keyring": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--keyring": "dynamic", "--limit": "value", "--location": "dynamic", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--keyring": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--keyring": "value", "--location": "value" } } }, "flags": {} }, "keyrings": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--location": "dynamic" } }, "describe": { "commands": {}, "flags": { "--location": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "dynamic", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "dynamic", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--location": "dynamic" } } }, "flags": {} }, "keys": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--keyring": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--default-algorithm": [ "ec-sign-p256-sha256", "ec-sign-p384-sha384", "external-symmetric-encryption", "google-symmetric-encryption", "rsa-decrypt-oaep-2048-sha256", "rsa-decrypt-oaep-3072-sha256", "rsa-decrypt-oaep-4096-sha256", "rsa-decrypt-oaep-4096-sha512", "rsa-sign-pkcs1-2048-sha256", "rsa-sign-pkcs1-3072-sha256", "rsa-sign-pkcs1-4096-sha256", "rsa-sign-pkcs1-4096-sha512", "rsa-sign-pss-2048-sha256", "rsa-sign-pss-3072-sha256", "rsa-sign-pss-4096-sha256", "rsa-sign-pss-4096-sha512" ], "--keyring": "dynamic", "--labels": "value", "--location": "dynamic", "--next-rotation-time": "value", "--protection-level": [ "external", "hsm", "software" ], "--purpose": [ "asymmetric-encryption", "asymmetric-signing", "encryption" ], "--rotation-period": "value", "--skip-initial-version-creation": "bool" } }, "describe": { "commands": {}, "flags": { "--keyring": "dynamic", "--location": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--keyring": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--keyring": "dynamic", "--limit": "value", "--location": "dynamic", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--keyring": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "remove-rotation-schedule": { "commands": {}, "flags": { "--keyring": "dynamic", "--location": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--keyring": "value", "--location": "value" } }, "set-primary-version": { "commands": {}, "flags": { "--keyring": "dynamic", "--location": "dynamic" } }, "set-rotation-schedule": { "commands": {}, "flags": { "--keyring": "dynamic", "--location": "dynamic", "--next-rotation-time": "value", "--rotation-period": "value" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--default-algorithm": [ "ec-sign-p256-sha256", "ec-sign-p384-sha384", "external-symmetric-encryption", "google-symmetric-encryption", "rsa-decrypt-oaep-2048-sha256", "rsa-decrypt-oaep-3072-sha256", "rsa-decrypt-oaep-4096-sha256", "rsa-decrypt-oaep-4096-sha512", "rsa-sign-pkcs1-2048-sha256", "rsa-sign-pkcs1-3072-sha256", "rsa-sign-pkcs1-4096-sha256", "rsa-sign-pkcs1-4096-sha512", "rsa-sign-pss-2048-sha256", "rsa-sign-pss-3072-sha256", "rsa-sign-pss-4096-sha256", "rsa-sign-pss-4096-sha512" ], "--keyring": "dynamic", "--location": "dynamic", "--next-rotation-time": "value", "--primary-version": "dynamic", "--remove-labels": "value", "--remove-rotation-schedule": "bool", "--rotation-period": "value", "--update-labels": "value" } }, "versions": { "commands": { "create": { "commands": {}, "flags": { "--external-key-uri": "value", "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic", "--primary": "bool" } }, "describe": { "commands": {}, "flags": { "--attestation-file": "value", "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic" } }, "destroy": { "commands": {}, "flags": { "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic" } }, "disable": { "commands": {}, "flags": { "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic" } }, "enable": { "commands": {}, "flags": { "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic" } }, "get-public-key": { "commands": {}, "flags": { "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic", "--output-file": "value" } }, "import": { "commands": {}, "flags": { "--algorithm": [ "ec-sign-p256-sha256", "ec-sign-p384-sha384", "google-symmetric-encryption", "rsa-decrypt-oaep-2048-sha256", "rsa-decrypt-oaep-3072-sha256", "rsa-decrypt-oaep-4096-sha256", "rsa-decrypt-oaep-4096-sha512", "rsa-sign-pkcs1-2048-sha256", "rsa-sign-pkcs1-3072-sha256", "rsa-sign-pkcs1-4096-sha256", "rsa-sign-pkcs1-4096-sha512", "rsa-sign-pss-2048-sha256", "rsa-sign-pss-3072-sha256", "rsa-sign-pss-4096-sha256", "rsa-sign-pss-4096-sha512" ], "--import-job": "dynamic", "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic", "--public-key-file": "value", "--rsa-aes-wrapped-key-file": "value", "--target-key-file": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--key": "dynamic", "--keyring": "dynamic", "--limit": "value", "--location": "dynamic", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "restore": { "commands": {}, "flags": { "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic" } }, "update": { "commands": {}, "flags": { "--external-key-uri": "value", "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic", "--state": "value" } } }, "flags": {} } }, "flags": {} }, "locations": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "lifesciences": { "commands": { "locations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "operations": { "commands": { "cancel": { "commands": {}, "flags": { "--location": "dynamic" } }, "describe": { "commands": {}, "flags": { "--location": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "dynamic", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "wait": { "commands": {}, "flags": { "--location": "dynamic" } } }, "flags": {} }, "pipelines": { "commands": { "run": { "commands": {}, "flags": { "--boot-disk-size": "value", "--command-line": "value", "--disk-size": "value", "--docker-image": "value", "--env-vars": "value", "--inputs": "value", "--inputs-from-file": "value", "--labels": "value", "--location": "dynamic", "--logging": "value", "--machine-type": "value", "--network": "value", "--outputs": "value", "--pipeline-file": "value", "--preemptible": "bool", "--regions": "value", "--service-account-email": "value", "--service-account-scopes": "value", "--subnetwork": "value", "--zones": "value" } } }, "flags": {} } }, "flags": {} }, "logging": { "commands": { "buckets": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--location": "value", "--retention-days": "value" } }, "delete": { "commands": {}, "flags": { "--billing-account": "value", "--folder": "value", "--location": "value", "--organization": "dynamic" } }, "describe": { "commands": {}, "flags": { "--billing-account": "value", "--folder": "value", "--location": "value", "--organization": "dynamic" } }, "list": { "commands": {}, "flags": { "--billing-account": "value", "--filter": "value", "--folder": "value", "--limit": "value", "--location": "value", "--organization": "dynamic", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "undelete": { "commands": {}, "flags": { "--billing-account": "value", "--folder": "value", "--location": "value", "--organization": "dynamic" } }, "update": { "commands": {}, "flags": { "--description": "value", "--location": "value", "--locked": "bool", "--retention-days": "value" } } }, "flags": {} }, "logs": { "commands": { "delete": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--sort-by": "value" } } }, "flags": {} }, "metrics": { "commands": { "create": { "commands": {}, "flags": { "--config-from-file": "value", "--description": "value", "--log-filter": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--sort-by": "value" } }, "update": { "commands": {}, "flags": { "--config-from-file": "value", "--description": "value", "--log-filter": "value" } } }, "flags": {} }, "read": { "commands": {}, "flags": { "--billing-account": "value", "--bucket": "value", "--folder": "value", "--freshness": "value", "--limit": "value", "--location": "value", "--order": [ "asc", "desc" ], "--organization": "dynamic", "--view": "value" } }, "resource-descriptors": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--sort-by": "value" } } }, "flags": {} }, "sinks": { "commands": { "create": { "commands": {}, "flags": { "--billing-account": "value", "--description": "value", "--disabled": "bool", "--dlp-deidentify-template": "value", "--dlp-inspect-template": "value", "--exclusion": "value", "--folder": "value", "--include-children": "bool", "--log-filter": "value", "--organization": "dynamic", "--use-partitioned-tables": "bool" } }, "delete": { "commands": {}, "flags": { "--billing-account": "value", "--folder": "value", "--organization": "dynamic" } }, "describe": { "commands": {}, "flags": { "--billing-account": "value", "--folder": "value", "--organization": "dynamic" } }, "list": { "commands": {}, "flags": { "--billing-account": "value", "--filter": "value", "--folder": "value", "--limit": "value", "--organization": "dynamic", "--sort-by": "value" } }, "update": { "commands": {}, "flags": { "--add-exclusion": "value", "--billing-account": "value", "--clear-exclusions": "bool", "--description": "value", "--disabled": "bool", "--dlp-deidentify-template": "value", "--dlp-inspect-template": "value", "--folder": "value", "--log-filter": "value", "--organization": "dynamic", "--remove-exclusions": "value", "--update-exclusion": "value", "--use-partitioned-tables": "bool" } } }, "flags": {} }, "views": { "commands": { "list": { "commands": {}, "flags": { "--billing-account": "value", "--bucket": "value", "--filter": "value", "--folder": "value", "--limit": "value", "--location": "value", "--organization": "dynamic", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "write": { "commands": {}, "flags": { "--billing-account": "value", "--folder": "value", "--organization": "dynamic", "--payload-type": [ "json", "text" ], "--severity": [ "ALERT", "CRITICAL", "DEBUG", "DEFAULT", "EMERGENCY", "ERROR", "INFO", "NOTICE", "WARNING" ] } } }, "flags": {} }, "memcache": { "commands": { "instances": { "commands": { "apply-parameters": { "commands": {}, "flags": { "--apply-all": "bool", "--async": "bool", "--node-ids": "value", "--region": "value" } }, "create": { "commands": {}, "flags": { "--async": "bool", "--authorized-network": "value", "--display-name": "value", "--labels": "value", "--memcached-version": [ "1.5" ], "--node-count": "value", "--node-cpu": "value", "--node-memory": "value", "--parameters": "value", "--region": "value", "--zones": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--region": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--display-name": "value", "--labels": "value", "--node-count": "value", "--parameters": "value", "--region": "value" } } }, "flags": {} }, "operations": { "commands": { "delete": { "commands": {}, "flags": { "--region": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "regions": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "ml": { "commands": { "language": { "commands": { "analyze-entities": { "commands": {}, "flags": { "--content": "value", "--content-file": "value", "--content-type": [ "html", "plain-text" ], "--encoding-type": [ "none", "utf16", "utf32", "utf8" ], "--language": "value" } }, "analyze-entity-sentiment": { "commands": {}, "flags": { "--content": "value", "--content-file": "value", "--content-type": [ "html", "plain-text" ], "--encoding-type": [ "none", "utf16", "utf32", "utf8" ], "--language": "value" } }, "analyze-sentiment": { "commands": {}, "flags": { "--content": "value", "--content-file": "value", "--content-type": [ "html", "plain-text" ], "--encoding-type": [ "none", "utf16", "utf32", "utf8" ], "--language": "value" } }, "analyze-syntax": { "commands": {}, "flags": { "--content": "value", "--content-file": "value", "--content-type": [ "html", "plain-text" ], "--encoding-type": [ "none", "utf16", "utf32", "utf8" ], "--language": "value" } }, "classify-text": { "commands": {}, "flags": { "--content": "value", "--content-file": "value", "--content-type": [ "html", "plain-text" ], "--language": "value" } } }, "flags": {} }, "speech": { "commands": { "operations": { "commands": { "describe": { "commands": {}, "flags": {} }, "wait": { "commands": {}, "flags": {} } }, "flags": {} }, "recognize": { "commands": {}, "flags": { "--additional-language-codes": "value", "--audio-channel-count": "value", "--audio-topic": "value", "--diarization-speaker-count": "value", "--enable-automatic-punctuation": "bool", "--enable-speaker-diarization": "bool", "--encoding": [ "amr", "amr-wb", "encoding-unspecified", "flac", "linear16", "mp3", "mulaw", "ogg-opus", "speex-with-header-byte" ], "--filter-profanity": "bool", "--hints": "value", "--include-word-confidence": "bool", "--include-word-time-offsets": "bool", "--interaction-type": [ "dictation", "discussion", "phone-call", "professionally-produced", "voice-command", "voice-search", "voicemail" ], "--language-code": "value", "--max-alternatives": "value", "--microphone-distance": [ "farfield", "midfield", "nearfield" ], "--naics-code": "value", "--original-media-type": [ "audio", "video" ], "--original-mime-type": "value", "--recording-device-name": "value", "--recording-device-type": [ "indoor", "outdoor", "pc", "phone-line", "smartphone", "vehicle" ], "--sample-rate": "value", "--separate-channel-recognition": "bool" } }, "recognize-long-running": { "commands": {}, "flags": { "--additional-language-codes": "value", "--async": "bool", "--audio-channel-count": "value", "--audio-topic": "value", "--diarization-speaker-count": "value", "--enable-automatic-punctuation": "bool", "--enable-speaker-diarization": "bool", "--encoding": [ "amr", "amr-wb", "encoding-unspecified", "flac", "linear16", "mp3", "mulaw", "ogg-opus", "speex-with-header-byte" ], "--filter-profanity": "bool", "--hints": "value", "--include-word-confidence": "bool", "--include-word-time-offsets": "bool", "--interaction-type": [ "dictation", "discussion", "phone-call", "professionally-produced", "voice-command", "voice-search", "voicemail" ], "--language-code": "value", "--max-alternatives": "value", "--microphone-distance": [ "farfield", "midfield", "nearfield" ], "--naics-code": "value", "--original-media-type": [ "audio", "video" ], "--original-mime-type": "value", "--recording-device-name": "value", "--recording-device-type": [ "indoor", "outdoor", "pc", "phone-line", "smartphone", "vehicle" ], "--sample-rate": "value", "--separate-channel-recognition": "bool" } } }, "flags": {} }, "translate": { "commands": { "batch-translate-text": { "commands": {}, "flags": { "--destination": "value", "--glossaries": "value", "--models": "value", "--source": "value", "--source-language": "value", "--target-language-codes": "value", "--zone": "value" } }, "detect-language": { "commands": {}, "flags": { "--content": "value", "--content-file": "value", "--mime-type": "value", "--model": "value", "--zone": "value" } }, "get-supported-languages": { "commands": {}, "flags": { "--display-language-code": "value", "--model": "value", "--zone": "value" } }, "translate-text": { "commands": {}, "flags": { "--content": "value", "--content-file": "value", "--glossary-config": "value", "--mime-type": "value", "--model": "value", "--source-language": "value", "--target-language": "value", "--zone": "value" } } }, "flags": {} }, "video": { "commands": { "detect-explicit-content": { "commands": {}, "flags": { "--async": "bool", "--output-uri": "value", "--region": [ "asia-east1", "europe-west1", "us-east1", "us-west1" ], "--segments": "value" } }, "detect-labels": { "commands": {}, "flags": { "--async": "bool", "--detection-mode": [ "frame", "shot", "shot-and-frame" ], "--output-uri": "value", "--region": [ "asia-east1", "europe-west1", "us-east1", "us-west1" ], "--segments": "value" } }, "detect-object": { "commands": {}, "flags": { "--async": "bool", "--output-uri": "value", "--region": [ "asia-east1", "europe-west1", "us-east1", "us-west1" ], "--segments": "value" } }, "detect-shot-changes": { "commands": {}, "flags": { "--async": "bool", "--output-uri": "value", "--region": [ "asia-east1", "europe-west1", "us-east1", "us-west1" ], "--segments": "value" } }, "detect-text": { "commands": {}, "flags": { "--async": "bool", "--language-hints": "value", "--output-uri": "value", "--region": [ "asia-east1", "europe-west1", "us-east1", "us-west1" ], "--segments": "value" } }, "operations": { "commands": { "describe": { "commands": {}, "flags": { "--location": "value" } }, "wait": { "commands": {}, "flags": { "--location": "value" } } }, "flags": {} }, "transcribe-speech": { "commands": {}, "flags": { "--async": "bool", "--audio-tracks": "value", "--diarization-speaker-count": "value", "--enable-automatic-punctuation": "bool", "--enable-speaker-diarization": "bool", "--enable-word-confidence": "bool", "--filter-profanity": "bool", "--hints": "value", "--language-code": "value", "--max-alternatives": "value", "--output-uri": "value", "--region": [ "asia-east1", "europe-west1", "us-east1", "us-west1" ], "--segments": "value" } } }, "flags": {} }, "vision": { "commands": { "detect-document": { "commands": {}, "flags": { "--language-hints": "value", "--model-version": [ "builtin/latest", "builtin/stable" ] } }, "detect-faces": { "commands": {}, "flags": { "--max-results": "value", "--model-version": [ "builtin/latest", "builtin/stable" ] } }, "detect-image-properties": { "commands": {}, "flags": { "--model-version": [ "builtin/latest", "builtin/stable" ] } }, "detect-labels": { "commands": {}, "flags": { "--max-results": "value", "--model-version": [ "builtin/latest", "builtin/stable" ] } }, "detect-landmarks": { "commands": {}, "flags": { "--max-results": "value", "--model-version": [ "builtin/latest", "builtin/stable" ] } }, "detect-logos": { "commands": {}, "flags": { "--max-results": "value", "--model-version": [ "builtin/latest", "builtin/stable" ] } }, "detect-objects": { "commands": {}, "flags": { "--model-version": [ "builtin/latest", "builtin/stable" ] } }, "detect-product": { "commands": {}, "flags": { "--bounding-polygon": "value", "--category": "value", "--filter": "value", "--max-results": "value", "--product-set": "value", "--product-set-location": "value" } }, "detect-safe-search": { "commands": {}, "flags": { "--model-version": [ "builtin/latest", "builtin/stable" ] } }, "detect-text": { "commands": {}, "flags": { "--language-hints": "value", "--model-version": [ "builtin/latest", "builtin/stable" ] } }, "detect-text-pdf": { "commands": {}, "flags": { "--batch-size": "value", "--model-version": [ "builtin/latest", "builtin/stable" ] } }, "detect-text-tiff": { "commands": {}, "flags": { "--batch-size": "value", "--model-version": [ "builtin/latest", "builtin/stable" ] } }, "detect-web": { "commands": {}, "flags": { "--include-geo-results": "bool", "--max-results": "value", "--model-version": [ "builtin/latest", "builtin/stable" ] } }, "operations": { "commands": { "describe": { "commands": {}, "flags": {} } }, "flags": {} }, "product-search": { "commands": { "images": { "commands": { "create": { "commands": {}, "flags": { "--bounding-polygon": "value", "--location": "value", "--product": "value", "--storage-location": "value" } }, "delete": { "commands": {}, "flags": { "--location": "value", "--product": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value", "--product": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--product": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "product-sets": { "commands": { "add-product": { "commands": {}, "flags": { "--location": "value", "--product": "value" } }, "create": { "commands": {}, "flags": { "--display-name": "value", "--location": "value" } }, "delete": { "commands": {}, "flags": { "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "import": { "commands": {}, "flags": { "--async": "bool", "--location": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "list-products": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--product-set": "value", "--sort-by": "value" } }, "remove-product": { "commands": {}, "flags": { "--location": "value", "--product": "value" } }, "update": { "commands": {}, "flags": { "--display-name": "value", "--location": "value" } } }, "flags": {} }, "products": { "commands": { "create": { "commands": {}, "flags": { "--category": [ "apparel", "homegoods", "toys" ], "--description": "value", "--display-name": "value", "--location": "value", "--product-labels": "value" } }, "delete": { "commands": {}, "flags": { "--location": "value" } }, "delete-all": { "commands": {}, "flags": { "--force": "bool", "--orphan-products": "bool", "--product-set": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--add-product-labels": "value", "--clear-product-labels": "bool", "--description": "value", "--display-name": "value", "--location": "value", "--remove-product-labels": "value" } } }, "flags": {} } }, "flags": {} }, "suggest-crop": { "commands": {}, "flags": { "--aspect-ratios": "value", "--model-version": [ "builtin/latest", "builtin/stable" ] } } }, "flags": {} } }, "flags": {} }, "ml-engine": { "commands": { "explain": { "commands": {}, "flags": { "--json-instances": "value", "--model": "value", "--text-instances": "value" } }, "jobs": { "commands": { "cancel": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": { "--summarize": "bool" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "stream-logs": { "commands": {}, "flags": { "--allow-multiline-logs": "bool", "--polling-interval": "value", "--task-name": "value" } }, "submit": { "commands": { "prediction": { "commands": {}, "flags": { "--accelerator-count": "value", "--accelerator-type": [ "nvidia-tesla-k80", "nvidia-tesla-p100" ], "--batch-size": "value", "--data-format": [ "text", "tf-record", "tf-record-gzip" ], "--input-paths": "value", "--labels": "value", "--max-worker-count": "value", "--model": "value", "--model-dir": "value", "--output-path": "value", "--region": "value", "--runtime-version": "value", "--signature-name": "value" } }, "training": { "commands": {}, "flags": { "--async": "bool", "--config": "value", "--job-dir": "value", "--labels": "value", "--master-accelerator": "value", "--master-image-uri": "value", "--master-machine-type": "value", "--module-name": "value", "--package-path": "value", "--packages": "value", "--parameter-server-accelerator": "value", "--parameter-server-count": "value", "--parameter-server-image-uri": "value", "--parameter-server-machine-type": "value", "--python-version": "value", "--region": "dynamic", "--runtime-version": "value", "--scale-tier": [ "basic", "basic-gpu", "basic-tpu", "custom", "premium-1", "standard-1" ], "--staging-bucket": "value", "--stream-logs": "bool", "--tpu-tf-version": "value", "--use-chief-in-tf-config": "value", "--worker-accelerator": "value", "--worker-count": "value", "--worker-image-uri": "value", "--worker-machine-type": "value" } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "local": { "commands": { "predict": { "commands": {}, "flags": { "--framework": [ "scikit-learn", "tensorflow", "xgboost" ], "--json-instances": "value", "--model-dir": "value", "--signature-name": "value", "--text-instances": "value" } }, "train": { "commands": {}, "flags": { "--distributed": "bool", "--evaluator-count": "value", "--job-dir": "value", "--module-name": "value", "--package-path": "value", "--parameter-server-count": "value", "--start-port": "value", "--worker-count": "value" } } }, "flags": {} }, "locations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "models": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--description": "value", "--enable-console-logging": "bool", "--enable-logging": "bool", "--labels": "value", "--regions": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "value" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--description": "value", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "operations": { "commands": { "cancel": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "wait": { "commands": {}, "flags": {} } }, "flags": {} }, "predict": { "commands": {}, "flags": { "--json-instances": "value", "--model": "value", "--signature-name": "value", "--text-instances": "value" } }, "versions": { "commands": { "create": { "commands": {}, "flags": { "--accelerator": "value", "--async": "bool", "--config": "value", "--description": "value", "--explanation-method": [ "integrated-gradients", "sampled-shapley", "xrai" ], "--framework": [ "scikit-learn", "tensorflow", "xgboost" ], "--labels": "value", "--machine-type": "value", "--model": "value", "--num-integral-steps": "value", "--num-paths": "value", "--origin": "value", "--package-uris": "value", "--prediction-class": "value", "--python-version": "value", "--runtime-version": "value", "--service-account": "value", "--staging-bucket": "value" } }, "delete": { "commands": {}, "flags": { "--model": "value" } }, "describe": { "commands": {}, "flags": { "--model": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--model": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "set-default": { "commands": {}, "flags": { "--model": "value" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--description": "value", "--model": "value", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} } }, "flags": {} }, "monitoring": { "commands": { "channel-descriptors": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "channels": { "commands": { "create": { "commands": {}, "flags": { "--channel-content": "value", "--channel-content-from-file": "value", "--channel-labels": "value", "--description": "value", "--display-name": "value", "--enabled": "bool", "--type": "value", "--user-labels": "value" } }, "delete": { "commands": {}, "flags": { "--force": "bool" } }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--type": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--channel-content": "value", "--channel-content-from-file": "value", "--clear-channel-labels": "bool", "--clear-user-labels": "bool", "--description": "value", "--display-name": "value", "--enabled": "bool", "--fields": "value", "--remove-channel-labels": "value", "--remove-user-labels": "value", "--type": "value", "--update-channel-labels": "value", "--update-user-labels": "value" } } }, "flags": {} }, "dashboards": { "commands": { "create": { "commands": {}, "flags": { "--config": "value", "--config-from-file": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--config": "value", "--config-from-file": "value" } } }, "flags": {} }, "policies": { "commands": { "conditions": { "commands": { "create": { "commands": {}, "flags": { "--aggregation": "value", "--condition": "value", "--condition-display-name": "value", "--condition-filter": "value", "--condition-from-file": "value", "--duration": "value", "--if": "value", "--trigger-count": "value", "--trigger-percent": "value" } }, "delete": { "commands": {}, "flags": { "--policy": "value" } }, "describe": { "commands": {}, "flags": { "--policy": "value" } }, "update": { "commands": {}, "flags": { "--display-name": "value", "--if": "value", "--policy": "value", "--trigger-count": "value", "--trigger-percent": "value" } } }, "flags": {} }, "create": { "commands": {}, "flags": { "--aggregation": "value", "--combiner": [ "AND", "AND_WITH_MATCHING_RESOURCE", "COMBINE_UNSPECIFIED", "OR" ], "--condition-display-name": "value", "--condition-filter": "value", "--display-name": "value", "--documentation": "value", "--documentation-format": "value", "--documentation-from-file": "value", "--duration": "value", "--enabled": "bool", "--if": "value", "--notification-channels": "value", "--policy": "value", "--policy-from-file": "value", "--trigger-count": "value", "--trigger-percent": "value", "--user-labels": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--add-notification-channels": "value", "--clear-notification-channels": "bool", "--clear-user-labels": "bool", "--combiner": [ "AND", "AND_WITH_MATCHING_RESOURCE", "COMBINE_UNSPECIFIED", "OR" ], "--display-name": "value", "--documentation": "value", "--documentation-format": "value", "--documentation-from-file": "value", "--enabled": "bool", "--fields": "value", "--policy": "value", "--policy-from-file": "value", "--remove-notification-channels": "value", "--remove-user-labels": "value", "--set-notification-channels": "value", "--update-user-labels": "value" } } }, "flags": {} } }, "flags": {} }, "notebooks": { "commands": { "environments": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--container-repository": "value", "--container-tag": "value", "--description": "value", "--display-name": "value", "--location": "dynamic", "--post-startup-script": "value", "--vm-image-family": "value", "--vm-image-name": "value", "--vm-image-project": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--location": "dynamic" } }, "describe": { "commands": {}, "flags": { "--location": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "dynamic", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "instances": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--location": "dynamic", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--accelerator-core-count": "value", "--accelerator-type": [ "NVIDIA_TESLA_K80", "NVIDIA_TESLA_P100", "NVIDIA_TESLA_P100_VWS", "NVIDIA_TESLA_P4", "NVIDIA_TESLA_P4_VWS", "NVIDIA_TESLA_T4", "NVIDIA_TESLA_T4_VWS", "NVIDIA_TESLA_V100", "TPU_V2", "TPU_V3" ], "--async": "bool", "--boot-disk-size": "value", "--boot-disk-type": [ "PD_SSD", "PD_STANDARD" ], "--container-repository": "value", "--container-tag": "value", "--custom-gpu-driver-path": "value", "--disk-encryption": [ "CMEK", "GMEK" ], "--environment": "dynamic", "--environment-location": "dynamic", "--install-gpu-driver": "bool", "--instance-owners": "value", "--kms-key": "dynamic", "--kms-keyring": "dynamic", "--kms-location": "dynamic", "--kms-project": "dynamic", "--labels": "value", "--location": "dynamic", "--machine-type": "value", "--metadata": "value", "--network": "dynamic", "--no-proxy-access": "bool", "--no-public-ip": "bool", "--post-startup-script": "value", "--service-account": "value", "--subnet": "dynamic", "--subnet-region": "dynamic", "--vm-image-family": "value", "--vm-image-name": "value", "--vm-image-project": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--location": "dynamic" } }, "describe": { "commands": {}, "flags": { "--location": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "dynamic", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "dynamic", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "register": { "commands": {}, "flags": { "--async": "bool", "--location": "dynamic" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--location": "dynamic", "--member": "value", "--role": "dynamic" } }, "reset": { "commands": {}, "flags": { "--async": "bool", "--location": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--location": "dynamic" } }, "start": { "commands": {}, "flags": { "--async": "bool", "--location": "dynamic" } }, "stop": { "commands": {}, "flags": { "--async": "bool", "--location": "dynamic" } }, "update": { "commands": {}, "flags": { "--accelerator-core-count": "value", "--accelerator-type": [ "NVIDIA_TESLA_K80", "NVIDIA_TESLA_P100", "NVIDIA_TESLA_P100_VWS", "NVIDIA_TESLA_P4", "NVIDIA_TESLA_P4_VWS", "NVIDIA_TESLA_T4", "NVIDIA_TESLA_T4_VWS", "NVIDIA_TESLA_V100", "TPU_V2", "TPU_V3" ], "--async": "bool", "--labels": "value", "--location": "dynamic", "--machine-type": "value" } } }, "flags": {} }, "locations": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "organizations": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} } }, "flags": {} }, "policy-troubleshoot": { "commands": { "iam": { "commands": {}, "flags": { "--permission": "value", "--principal-email": "value" } } }, "flags": {} }, "projects": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--enable-cloud-apis": "bool", "--folder": "value", "--labels": "value", "--name": "value", "--organization": "value", "--set-as-default": "bool" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-ancestors": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "move": { "commands": {}, "flags": { "--folder": "value", "--organization": "value" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "undelete": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--name": "value", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "pubsub": { "commands": { "snapshots": { "commands": { "create": { "commands": {}, "flags": { "--labels": "value", "--subscription": "value", "--subscription-project": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "subscriptions": { "commands": { "ack": { "commands": {}, "flags": { "--ack-ids": "value" } }, "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--ack-deadline": "value", "--dead-letter-topic": "value", "--dead-letter-topic-project": "value", "--enable-message-ordering": "bool", "--expiration-period": "value", "--filter": "value", "--labels": "value", "--max-delivery-attempts": "value", "--max-retry-delay": "value", "--message-retention-duration": "value", "--min-retry-delay": "value", "--push-auth-service-account": "value", "--push-auth-token-audience": "value", "--push-endpoint": "value", "--retain-acked-messages": "bool", "--topic": "value", "--topic-project": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "modify-ack-deadline": { "commands": {}, "flags": { "--ack-deadline": "value", "--ack-ids": "value" } }, "modify-message-ack-deadline": { "commands": {}, "flags": { "--ack-deadline": "value", "--ack-ids": "value" } }, "modify-push-config": { "commands": {}, "flags": { "--push-auth-service-account": "value", "--push-auth-token-audience": "value", "--push-endpoint": "value" } }, "pull": { "commands": {}, "flags": { "--auto-ack": "bool", "--filter": "value", "--limit": "value", "--max-messages": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool", "--wait": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "seek": { "commands": {}, "flags": { "--snapshot": "value", "--snapshot-project": "value", "--time": "value" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--ack-deadline": "value", "--clear-dead-letter-policy": "bool", "--clear-labels": "bool", "--clear-retry-policy": "bool", "--dead-letter-topic": "value", "--dead-letter-topic-project": "value", "--expiration-period": "value", "--max-delivery-attempts": "value", "--max-retry-delay": "value", "--message-retention-duration": "value", "--min-retry-delay": "value", "--push-auth-service-account": "value", "--push-auth-token-audience": "value", "--push-endpoint": "value", "--remove-labels": "value", "--retain-acked-messages": "bool", "--update-labels": "value" } } }, "flags": {} }, "topics": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--labels": "value", "--message-storage-policy-allowed-regions": "value", "--topic-encryption-key": "dynamic", "--topic-encryption-key-keyring": "dynamic", "--topic-encryption-key-location": "dynamic", "--topic-encryption-key-project": "dynamic" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "list-snapshots": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "list-subscriptions": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "publish": { "commands": {}, "flags": { "--attribute": "value", "--message": "value", "--ordering-key": "value" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--message-storage-policy-allowed-regions": "value", "--recompute-message-storage-policy": "bool", "--remove-labels": "value", "--topic-encryption-key": "dynamic", "--topic-encryption-key-keyring": "dynamic", "--topic-encryption-key-location": "dynamic", "--topic-encryption-key-project": "dynamic", "--update-labels": "value" } } }, "flags": {} } }, "flags": {} }, "recaptcha": { "commands": { "keys": { "commands": { "create": { "commands": {}, "flags": { "--allow-all-domains": "bool", "--allow-amp-traffic": "bool", "--android": "bool", "--bundle-ids": "value", "--display-name": "value", "--domains": "value", "--integration-type": [ "checkbox", "invisible", "score" ], "--ios": "bool", "--labels": "value", "--package-names": "value", "--security-preference": [ "balance", "challenge-security-preference-unspecified", "security", "usability" ], "--web": "bool" } }, "delete": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--allow-all-domains": "bool", "--allow-amp-traffic": "bool", "--android": "bool", "--bundle-ids": "value", "--display-name": "value", "--domains": "value", "--ios": "bool", "--labels": "value", "--package-names": "value", "--security-preference": [ "balance", "challenge-security-preference-unspecified", "security", "usability" ], "--web": "bool" } } }, "flags": {} } }, "flags": {} }, "recommender": { "commands": { "insights": { "commands": { "describe": { "commands": {}, "flags": { "--insight-type": "value", "--location": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--insight-type": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "mark-accepted": { "commands": {}, "flags": { "--etag": "value", "--insight-type": "value", "--location": "value", "--state-metadata": "value" } }, "mark-active": { "commands": {}, "flags": { "--etag": "value", "--insight-type": "value", "--location": "value" } }, "mark-dismissed": { "commands": {}, "flags": { "--etag": "value", "--insight-type": "value", "--location": "value", "--recommendation-change-type": [ "dismiss", "leave_unchanged" ] } } }, "flags": {} }, "recommendations": { "commands": { "describe": { "commands": {}, "flags": { "--location": "value", "--recommender": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--recommender": "value", "--sort-by": "value", "--uri": "bool" } }, "mark-active": { "commands": {}, "flags": { "--etag": "value", "--location": "value", "--recommender": "value" } }, "mark-claimed": { "commands": {}, "flags": { "--etag": "value", "--location": "value", "--recommender": "value", "--state-metadata": "value" } }, "mark-dismissed": { "commands": {}, "flags": { "--etag": "value", "--location": "value", "--recommender": "value" } }, "mark-failed": { "commands": {}, "flags": { "--etag": "value", "--location": "value", "--recommender": "value", "--state-metadata": "value" } }, "mark-succeeded": { "commands": {}, "flags": { "--etag": "value", "--location": "value", "--recommender": "value", "--state-metadata": "value" } } }, "flags": {} } }, "flags": {} }, "redis": { "commands": { "instances": { "commands": { "create": { "commands": {}, "flags": { "--alternative-zone": "value", "--async": "bool", "--connect-mode": [ "connect-mode-unspecified", "direct-peering", "private-service-access" ], "--display-name": "value", "--labels": "value", "--network": "value", "--redis-config": "value", "--redis-version": [ "redis_3_2", "redis_4_0", "redis_5_0" ], "--region": "dynamic", "--reserved-ip-range": "value", "--size": "value", "--tier": [ "basic", "standard" ], "--zone": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "export": { "commands": {}, "flags": { "--async": "bool", "--region": "dynamic" } }, "failover": { "commands": {}, "flags": { "--async": "bool", "--data-protection-mode": [ "force-data-loss", "limited-data-loss" ], "--region": "dynamic" } }, "import": { "commands": {}, "flags": { "--async": "bool", "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--clear-labels": "bool", "--display-name": "value", "--region": "dynamic", "--remove-labels": "value", "--remove-redis-config": "value", "--size": "value", "--update-labels": "value", "--update-redis-config": "value" } }, "upgrade": { "commands": {}, "flags": { "--async": "bool", "--redis-version": [ "redis_4_0" ], "--region": "dynamic" } } }, "flags": {} }, "operations": { "commands": { "cancel": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "regions": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "zones": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } } }, "flags": {} } }, "flags": {} }, "remote-build-execution": { "commands": { "instances": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--location": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool" } }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} }, "worker-pools": { "commands": { "create": { "commands": {}, "flags": { "--accelerator-count": "value", "--accelerator-type": "value", "--async": "bool", "--disk-size": "value", "--disk-type": [ "pd-ssd", "pd-standard" ], "--instance": "value", "--labels": "value", "--machine-type": "value", "--max-concurrent-actions": "value", "--min-cpu-platform": "value", "--network-access": [ "private", "public", "restricted-private" ], "--reserved": "bool", "--worker-count": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--instance": "value" } }, "describe": { "commands": {}, "flags": { "--instance": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "update": { "commands": {}, "flags": { "--accelerator-count": "value", "--accelerator-type": "value", "--async": "bool", "--clear-accelerator-config": "bool", "--clear-labels": "bool", "--disk-size": "value", "--disk-type": [ "pd-ssd", "pd-standard" ], "--instance": "value", "--machine-type": "value", "--max-concurrent-actions": "value", "--min-cpu-platform": "value", "--network-access": [ "private", "public", "restricted-private" ], "--remove-labels": "value", "--reserved": "bool", "--update-labels": "value", "--worker-count": "value" } } }, "flags": {} } }, "flags": {} }, "resource-manager": { "commands": { "folders": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--async": "bool", "--display-name": "value", "--folder": "value", "--organization": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--folder": "value", "--limit": "value", "--organization": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "move": { "commands": {}, "flags": { "--async": "bool", "--folder": "value", "--organization": "value" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "undelete": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--display-name": "value" } } }, "flags": {} }, "liens": { "commands": { "create": { "commands": {}, "flags": { "--origin": "value", "--reason": "value", "--restrictions": "value" } }, "delete": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": {} } }, "flags": {} }, "org-policies": { "commands": { "allow": { "commands": {}, "flags": { "--folder": "value", "--organization": "dynamic" } }, "delete": { "commands": {}, "flags": { "--folder": "value", "--organization": "dynamic" } }, "deny": { "commands": {}, "flags": { "--folder": "value", "--organization": "dynamic" } }, "describe": { "commands": {}, "flags": { "--effective": "bool", "--folder": "value", "--organization": "dynamic" } }, "disable-enforce": { "commands": {}, "flags": { "--folder": "value", "--organization": "dynamic" } }, "enable-enforce": { "commands": {}, "flags": { "--folder": "value", "--organization": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--folder": "value", "--limit": "value", "--organization": "dynamic", "--page-size": "value", "--show-unset": "bool", "--sort-by": "value", "--uri": "bool" } }, "set-policy": { "commands": {}, "flags": { "--folder": "value", "--organization": "dynamic" } } }, "flags": {} } }, "flags": {} }, "resources": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "run": { "commands": { "deploy": { "commands": {}, "flags": { "--add-cloudsql-instances": "value", "--allow-unauthenticated": "bool", "--args": "value", "--async": "bool", "--clear-cloudsql-instances": "bool", "--clear-config-maps": "bool", "--clear-env-vars": "bool", "--clear-labels": "bool", "--clear-secrets": "bool", "--cluster": "value", "--cluster-location": "value", "--command": "value", "--concurrency": "value", "--connectivity": [ "external", "internal" ], "--context": "value", "--cpu": "value", "--image": "value", "--kubeconfig": "value", "--labels": "value", "--max-instances": "value", "--memory": "value", "--min-instances": "value", "--namespace": "value", "--no-traffic": "bool", "--platform": [ "gke", "kubernetes", "managed" ], "--port": "value", "--region": "value", "--remove-cloudsql-instances": "value", "--remove-config-maps": "value", "--remove-env-vars": "value", "--remove-labels": "value", "--remove-secrets": "value", "--revision-suffix": "value", "--service-account": "value", "--set-cloudsql-instances": "value", "--set-config-maps": "value", "--set-env-vars": "value", "--set-secrets": "value", "--timeout": "value", "--update-config-maps": "value", "--update-env-vars": "value", "--update-labels": "value", "--update-secrets": "value", "--use-http2": "bool" } }, "domain-mappings": { "commands": { "create": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--domain": "value", "--force-override": "bool", "--kubeconfig": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value", "--service": "value" } }, "delete": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--domain": "value", "--kubeconfig": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "describe": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--domain": "value", "--kubeconfig": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "list": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--filter": "value", "--kubeconfig": "value", "--limit": "value", "--namespace": "value", "--page-size": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "revisions": { "commands": { "delete": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "describe": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "list": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--filter": "value", "--kubeconfig": "value", "--limit": "value", "--namespace": "value", "--page-size": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value", "--service": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "services": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--condition": "value", "--condition-from-file": "value", "--context": "value", "--kubeconfig": "value", "--member": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value", "--role": "dynamic" } }, "delete": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "describe": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--filter": "value", "--kubeconfig": "value", "--limit": "value", "--page-size": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--filter": "value", "--kubeconfig": "value", "--limit": "value", "--namespace": "value", "--page-size": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--cluster": "value", "--cluster-location": "value", "--condition": "value", "--condition-from-file": "value", "--context": "value", "--kubeconfig": "value", "--member": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value", "--role": "dynamic" } }, "replace": { "commands": {}, "flags": { "--async": "bool", "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "set-iam-policy": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "update": { "commands": {}, "flags": { "--add-cloudsql-instances": "value", "--args": "value", "--async": "bool", "--clear-cloudsql-instances": "bool", "--clear-config-maps": "bool", "--clear-env-vars": "bool", "--clear-labels": "bool", "--clear-secrets": "bool", "--clear-vpc-connector": "bool", "--cluster": "value", "--cluster-location": "value", "--command": "value", "--concurrency": "value", "--connectivity": [ "external", "internal" ], "--context": "value", "--cpu": "value", "--kubeconfig": "value", "--labels": "value", "--max-instances": "value", "--memory": "value", "--min-instances": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--port": "value", "--region": "value", "--remove-cloudsql-instances": "value", "--remove-config-maps": "value", "--remove-env-vars": "value", "--remove-labels": "value", "--remove-secrets": "value", "--revision-suffix": "value", "--service-account": "value", "--set-cloudsql-instances": "value", "--set-config-maps": "value", "--set-env-vars": "value", "--set-secrets": "value", "--timeout": "value", "--update-config-maps": "value", "--update-env-vars": "value", "--update-labels": "value", "--update-secrets": "value", "--use-http2": "bool", "--vpc-connector": "value" } }, "update-traffic": { "commands": {}, "flags": { "--async": "bool", "--clear-tags": "bool", "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value", "--remove-tags": "value", "--set-tags": "value", "--to-latest": "bool", "--to-revisions": "value", "--update-tags": "value" } } }, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } } }, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "scc": { "commands": { "assets": { "commands": { "describe": { "commands": {}, "flags": { "--asset": "value", "--resource-name": "value" } }, "get-parent": { "commands": {}, "flags": { "--asset": "value", "--resource-name": "value" } }, "get-project": { "commands": {}, "flags": { "--asset": "value", "--resource-name": "value" } }, "group": { "commands": {}, "flags": { "--compare-duration": "value", "--filter": "value", "--group-by": "value", "--page-size": "value", "--page-token": "value", "--read-time": "value" } }, "list": { "commands": {}, "flags": { "--compare-duration": "value", "--field-mask": "value", "--filter": "value", "--limit": "value", "--order-by": "value", "--page-size": "value", "--page-token": "value", "--read-time": "value", "--sort-by": "value" } }, "list-marks": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--organization": "value", "--page-size": "value", "--page-token": "value", "--read-time": "value", "--sort-by": "value" } }, "run-discovery": { "commands": {}, "flags": {} }, "update-marks": { "commands": {}, "flags": { "--organization": "value", "--security-marks": "value", "--start-time": "value", "--update-mask": "value" } } }, "flags": {} }, "findings": { "commands": { "create": { "commands": {}, "flags": { "--category": "value", "--event-time": "value", "--external-uri": "value", "--organization": "value", "--resource-name": "value", "--source": "dynamic", "--source-properties": "value", "--state": [ "active", "inactive", "state-unspecified" ] } }, "group": { "commands": {}, "flags": { "--compare-duration": "value", "--filter": "value", "--group-by": "value", "--page-size": "value", "--page-token": "value", "--read-time": "value", "--source": "value" } }, "list": { "commands": {}, "flags": { "--compare-duration": "value", "--field-mask": "value", "--filter": "value", "--limit": "value", "--order-by": "value", "--page-size": "value", "--page-token": "value", "--read-time": "value", "--sort-by": "value", "--source": "value" } }, "list-marks": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--organization": "value", "--page-size": "value", "--page-token": "value", "--read-time": "value", "--sort-by": "value", "--source": "dynamic" } }, "update": { "commands": {}, "flags": { "--event-time": "value", "--external-uri": "value", "--organization": "value", "--source": "dynamic", "--source-properties": "value", "--state": [ "active", "inactive", "state-unspecified" ], "--update-mask": "value" } }, "update-marks": { "commands": {}, "flags": { "--organization": "value", "--security-marks": "value", "--source": "dynamic", "--start-time": "value", "--update-mask": "value" } } }, "flags": {} }, "notifications": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--filter": "value", "--organization": "value", "--pubsub-topic": "value" } }, "delete": { "commands": {}, "flags": { "--organization": "value" } }, "describe": { "commands": {}, "flags": { "--organization": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "update": { "commands": {}, "flags": { "--description": "value", "--organization": "value", "--pubsub-topic": "value" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": { "--organization": "value" } } }, "flags": {} }, "sources": { "commands": { "describe": { "commands": {}, "flags": { "--source": "value", "--source-display-name": "value" } } }, "flags": {} } }, "flags": {} }, "scheduler": { "commands": { "jobs": { "commands": { "create": { "commands": { "app-engine": { "commands": {}, "flags": { "--attempt-deadline": "value", "--description": "value", "--headers": "value", "--http-method": [ "delete", "get", "head", "post", "put" ], "--max-backoff": "value", "--max-doublings": "value", "--max-retry-attempts": "value", "--max-retry-duration": "value", "--message-body": "value", "--message-body-from-file": "value", "--min-backoff": "value", "--relative-url": "value", "--schedule": "value", "--service": "value", "--time-zone": "value" } }, "http": { "commands": {}, "flags": { "--attempt-deadline": "value", "--description": "value", "--headers": "value", "--http-method": [ "delete", "get", "head", "post", "put" ], "--max-backoff": "value", "--max-doublings": "value", "--max-retry-attempts": "value", "--max-retry-duration": "value", "--message-body": "value", "--message-body-from-file": "value", "--min-backoff": "value", "--oauth-service-account-email": "value", "--oauth-token-scope": "value", "--oidc-service-account-email": "value", "--oidc-token-audience": "value", "--schedule": "value", "--time-zone": "value", "--uri": "value" } }, "pubsub": { "commands": {}, "flags": { "--attributes": "value", "--description": "value", "--max-backoff": "value", "--max-doublings": "value", "--max-retry-attempts": "value", "--max-retry-duration": "value", "--message-body": "value", "--message-body-from-file": "value", "--min-backoff": "value", "--schedule": "value", "--time-zone": "value", "--topic": "value" } } }, "flags": {} }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "pause": { "commands": {}, "flags": {} }, "resume": { "commands": {}, "flags": {} }, "run": { "commands": {}, "flags": {} }, "update": { "commands": { "app-engine": { "commands": {}, "flags": { "--attempt-deadline": "value", "--clear-headers": "bool", "--clear-max-backoff": "bool", "--clear-max-doublings": "bool", "--clear-max-retry-attempts": "bool", "--clear-max-retry-duration": "bool", "--clear-message-body": "bool", "--clear-min-backoff": "bool", "--clear-relative-url": "bool", "--clear-service": "bool", "--clear-time-zone": "bool", "--description": "value", "--http-method": [ "delete", "get", "head", "post", "put" ], "--max-backoff": "value", "--max-doublings": "value", "--max-retry-attempts": "value", "--max-retry-duration": "value", "--message-body": "value", "--message-body-from-file": "value", "--min-backoff": "value", "--relative-url": "value", "--remove-headers": "value", "--schedule": "value", "--service": "value", "--time-zone": "value", "--update-headers": "value" } }, "http": { "commands": {}, "flags": { "--attempt-deadline": "value", "--clear-auth-token": "bool", "--clear-headers": "bool", "--clear-max-backoff": "bool", "--clear-max-doublings": "bool", "--clear-max-retry-attempts": "bool", "--clear-max-retry-duration": "bool", "--clear-message-body": "bool", "--clear-min-backoff": "bool", "--clear-time-zone": "bool", "--description": "value", "--http-method": [ "delete", "get", "head", "post", "put" ], "--max-backoff": "value", "--max-doublings": "value", "--max-retry-attempts": "value", "--max-retry-duration": "value", "--message-body": "value", "--message-body-from-file": "value", "--min-backoff": "value", "--oauth-service-account-email": "value", "--oauth-token-scope": "value", "--oidc-service-account-email": "value", "--oidc-token-audience": "value", "--remove-headers": "value", "--schedule": "value", "--time-zone": "value", "--update-headers": "value", "--uri": "value" } }, "pubsub": { "commands": {}, "flags": { "--clear-attributes": "bool", "--clear-max-backoff": "bool", "--clear-max-doublings": "bool", "--clear-max-retry-attempts": "bool", "--clear-max-retry-duration": "bool", "--clear-min-backoff": "bool", "--clear-time-zone": "bool", "--description": "value", "--max-backoff": "value", "--max-doublings": "value", "--max-retry-attempts": "value", "--max-retry-duration": "value", "--message-body": "value", "--message-body-from-file": "value", "--min-backoff": "value", "--remove-attributes": "value", "--schedule": "value", "--time-zone": "value", "--topic": "value", "--update-attributes": "value" } } }, "flags": {} } }, "flags": {} } }, "flags": {} }, "search-help": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "service-directory": { "commands": { "endpoints": { "commands": { "create": { "commands": {}, "flags": { "--address": "value", "--location": "value", "--metadata": "value", "--namespace": "value", "--port": "value", "--service": "value" } }, "delete": { "commands": {}, "flags": { "--location": "value", "--namespace": "value", "--service": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value", "--namespace": "value", "--service": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--location": "value", "--namespace": "value", "--page-size": "value", "--service": "value", "--sort-by": "value" } }, "update": { "commands": {}, "flags": { "--address": "value", "--location": "value", "--metadata": "value", "--namespace": "value", "--port": "value", "--service": "value" } } }, "flags": {} }, "locations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": {} } }, "flags": {} }, "namespaces": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--location": "value", "--member": "value", "--role": "value" } }, "create": { "commands": {}, "flags": { "--labels": "value", "--location": "value" } }, "delete": { "commands": {}, "flags": { "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--location": "value", "--member": "value", "--role": "value" } }, "set-iam-policy": { "commands": {}, "flags": { "--location": "value" } }, "update": { "commands": {}, "flags": { "--labels": "value", "--location": "value" } } }, "flags": {} }, "services": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--location": "value", "--member": "value", "--namespace": "value", "--role": "value" } }, "create": { "commands": {}, "flags": { "--location": "value", "--metadata": "value", "--namespace": "value" } }, "delete": { "commands": {}, "flags": { "--location": "value", "--namespace": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value", "--namespace": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--namespace": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--location": "value", "--namespace": "value", "--page-size": "value", "--sort-by": "value" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--location": "value", "--member": "value", "--namespace": "value", "--role": "value" } }, "resolve": { "commands": {}, "flags": { "--endpoint-filter": "value", "--location": "value", "--max-endpoints": "value", "--namespace": "value" } }, "set-iam-policy": { "commands": {}, "flags": { "--location": "value", "--namespace": "value" } }, "update": { "commands": {}, "flags": { "--location": "value", "--metadata": "value", "--namespace": "value" } } }, "flags": {} } }, "flags": {} }, "services": { "commands": { "api-keys": { "commands": { "clone": { "commands": {}, "flags": { "--async": "bool" } }, "create": { "commands": {}, "flags": { "--allowed-application": "value", "--allowed-bundle-ids": "value", "--allowed-ips": "value", "--allowed-referrers": "value", "--api-target": "value", "--async": "bool", "--display-name": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool" } }, "describe": { "commands": {}, "flags": {} }, "get-key-string": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--deleted": "bool", "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "lookup": { "commands": {}, "flags": {} }, "undelete": { "commands": {}, "flags": { "--async": "bool" } }, "update": { "commands": {}, "flags": { "--allowed-application": "value", "--allowed-bundle-ids": "value", "--allowed-ips": "value", "--allowed-referrers": "value", "--api-target": "value", "--async": "bool", "--clear-restrictions": "bool", "--display-name": "value" } } }, "flags": {} }, "disable": { "commands": {}, "flags": { "--async": "bool", "--force": "bool" } }, "enable": { "commands": {}, "flags": { "--async": "bool" } }, "identity": { "commands": { "create": { "commands": {}, "flags": { "--service": "value" } } }, "flags": {} }, "list": { "commands": {}, "flags": { "--available": "bool", "--enabled": "bool", "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "operations": { "commands": { "describe": { "commands": {}, "flags": { "--full": "value" } }, "wait": { "commands": {}, "flags": {} } }, "flags": {} }, "vpc-peerings": { "commands": { "connect": { "commands": {}, "flags": { "--async": "bool", "--network": "value", "--ranges": "value", "--service": "value" } }, "disable-vpc-service-controls": { "commands": {}, "flags": { "--async": "bool", "--network": "value", "--service": "value" } }, "enable-vpc-service-controls": { "commands": {}, "flags": { "--async": "bool", "--network": "value", "--service": "value" } }, "list": { "commands": {}, "flags": { "--network": "value", "--service": "value" } }, "operations": { "commands": { "describe": { "commands": {}, "flags": { "--name": "value" } }, "wait": { "commands": {}, "flags": { "--name": "value" } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--async": "bool", "--force": "bool", "--network": "value", "--ranges": "value", "--service": "value" } } }, "flags": {} } }, "flags": {} }, "source": { "commands": { "project-configs": { "commands": { "describe": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--add-topic": "value", "--disable-pushblock": "bool", "--enable-pushblock": "bool", "--message-format": [ "json", "protobuf" ], "--remove-topic": "value", "--service-account": "value", "--topic-project": "value", "--update-topic": "value" } } }, "flags": {} }, "repos": { "commands": { "clone": { "commands": {}, "flags": { "--dry-run": "bool", "--use-full-gcloud-path": "bool" } }, "create": { "commands": {}, "flags": {} }, "delete": { "commands": {}, "flags": { "--force": "bool" } }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--add-topic": "value", "--message-format": [ "json", "protobuf" ], "--remove-topic": "value", "--service-account": "value", "--topic-project": "value", "--update-topic": "value" } } }, "flags": {} } }, "flags": {} }, "spanner": { "commands": { "backups": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--instance": "dynamic", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--async": "bool", "--database": "value", "--expiration-date": "value", "--instance": "dynamic", "--retention-period": "value" } }, "delete": { "commands": {}, "flags": { "--instance": "dynamic" } }, "describe": { "commands": {}, "flags": { "--instance": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--database": "value", "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--instance": "dynamic", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--instance": "dynamic" } }, "update-metadata": { "commands": {}, "flags": { "--expiration-date": "value", "--instance": "dynamic", "--retention-period": "value" } } }, "flags": {} }, "databases": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--instance": "dynamic", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--async": "bool", "--ddl": "value", "--instance": "value" } }, "ddl": { "commands": { "describe": { "commands": {}, "flags": { "--filter": "value", "--instance": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--ddl": "value", "--instance": "value" } } }, "flags": {} }, "delete": { "commands": {}, "flags": { "--instance": "value" } }, "describe": { "commands": {}, "flags": { "--instance": "value" } }, "execute-sql": { "commands": {}, "flags": { "--enable-partitioned-dml": "bool", "--instance": "value", "--query-mode": [ "NORMAL", "PLAN", "PROFILE" ], "--sql": "value", "--timeout": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--instance": "dynamic", "--member": "value", "--role": "dynamic" } }, "restore": { "commands": {}, "flags": { "--async": "bool", "--destination-database": "value", "--destination-instance": "value", "--source-backup": "value", "--source-instance": "value" } }, "sessions": { "commands": { "delete": { "commands": {}, "flags": { "--database": "value", "--instance": "value" } }, "list": { "commands": {}, "flags": { "--database": "value", "--filter": "value", "--instance": "value", "--limit": "value", "--page-size": "value", "--server-filter": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "set-iam-policy": { "commands": {}, "flags": { "--instance": "value" } } }, "flags": {} }, "instance-configs": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "instances": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--async": "bool", "--config": "dynamic", "--description": "value", "--nodes": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--async": "bool", "--description": "value", "--nodes": "value" } } }, "flags": {} }, "operations": { "commands": { "cancel": { "commands": {}, "flags": { "--backup": "dynamic", "--database": "dynamic", "--instance": "dynamic" } }, "describe": { "commands": {}, "flags": { "--backup": "dynamic", "--database": "dynamic", "--instance": "dynamic" } }, "list": { "commands": {}, "flags": { "--backup": "dynamic", "--database": "dynamic", "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--type": [ "BACKUP", "DATABASE", "DATABASE_CREATE", "DATABASE_RESTORE", "DATABASE_UPDATE_DDL", "INSTANCE" ], "--uri": "bool" } } }, "flags": {} }, "rows": { "commands": { "delete": { "commands": {}, "flags": { "--database": "value", "--instance": "value", "--keys": "value", "--table": "value" } }, "insert": { "commands": {}, "flags": { "--data": "value", "--database": "value", "--instance": "value", "--table": "value" } }, "update": { "commands": {}, "flags": { "--data": "value", "--database": "value", "--instance": "value", "--table": "value" } } }, "flags": {} } }, "flags": {} }, "sql": { "commands": { "backups": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--description": "value", "--instance": "dynamic", "--location": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--instance": "dynamic" } }, "describe": { "commands": {}, "flags": { "--instance": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "restore": { "commands": {}, "flags": { "--async": "bool", "--backup-instance": "dynamic", "--restore-instance": "dynamic" } } }, "flags": {} }, "connect": { "commands": {}, "flags": { "--database": "value", "--port": "value", "--user": "value" } }, "databases": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--charset": "value", "--collation": "value", "--instance": "dynamic" } }, "delete": { "commands": {}, "flags": { "--instance": "dynamic" } }, "describe": { "commands": {}, "flags": { "--instance": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "patch": { "commands": {}, "flags": { "--charset": "value", "--collation": "value", "--diff": "bool", "--instance": "dynamic" } } }, "flags": {} }, "export": { "commands": { "bak": { "commands": {}, "flags": { "--async": "bool", "--database": "value" } }, "csv": { "commands": {}, "flags": { "--async": "bool", "--database": "value", "--query": "value" } }, "sql": { "commands": {}, "flags": { "--async": "bool", "--database": "value", "--table": "value" } } }, "flags": {} }, "flags": { "commands": { "list": { "commands": {}, "flags": { "--database-version": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "import": { "commands": { "bak": { "commands": {}, "flags": { "--async": "bool", "--cert-path": "value", "--database": "value", "--prompt-for-pvk-password": "bool", "--pvk-password": "value", "--pvk-path": "value" } }, "csv": { "commands": {}, "flags": { "--async": "bool", "--columns": "value", "--database": "value", "--table": "value", "--user": "value" } }, "sql": { "commands": {}, "flags": { "--async": "bool", "--database": "value", "--user": "value" } } }, "flags": {} }, "instances": { "commands": { "clone": { "commands": {}, "flags": { "--async": "bool", "--bin-log-file-name": "value", "--bin-log-position": "value", "--point-in-time": "value" } }, "create": { "commands": {}, "flags": { "--activation-policy": [ "always", "never", "on-demand" ], "--assign-ip": "bool", "--async": "bool", "--authorized-networks": "value", "--availability-type": [ "regional", "zonal" ], "--backup": "bool", "--backup-location": "value", "--backup-start-time": "value", "--client-certificate-path": "value", "--client-key-path": "value", "--cpu": "value", "--database-flags": "value", "--database-version": "value", "--disk-encryption-key": "dynamic", "--disk-encryption-key-keyring": "dynamic", "--disk-encryption-key-location": "dynamic", "--disk-encryption-key-project": "dynamic", "--enable-bin-log": "bool", "--enable-point-in-time-recovery": "bool", "--failover-replica-name": "value", "--gce-zone": "value", "--labels": "value", "--maintenance-release-channel": [ "preview", "production" ], "--maintenance-window-day": [ "FRI", "MON", "SAT", "SUN", "THU", "TUE", "WED" ], "--maintenance-window-hour": "value", "--master-ca-certificate-path": "value", "--master-dump-file-path": "value", "--master-instance-name": "value", "--master-password": "value", "--master-username": "value", "--memory": "value", "--network": "value", "--prompt-for-master-password": "bool", "--region": "value", "--replica-type": [ "FAILOVER", "READ" ], "--replication": [ "asynchronous", "synchronous" ], "--require-ssl": "bool", "--root-password": "value", "--source-ip-address": "value", "--source-port": "value", "--storage-auto-increase": "bool", "--storage-auto-increase-limit": "value", "--storage-size": "value", "--storage-type": [ "HDD", "SSD" ], "--tier": "value", "--zone": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool" } }, "describe": { "commands": {}, "flags": {} }, "export": { "commands": {}, "flags": { "--async": "bool", "--database": "value", "--table": "value" } }, "failover": { "commands": {}, "flags": { "--async": "bool" } }, "import": { "commands": {}, "flags": { "--async": "bool", "--database": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "patch": { "commands": {}, "flags": { "--activation-policy": [ "always", "never", "on-demand" ], "--assign-ip": "bool", "--async": "bool", "--authorized-gae-apps": "value", "--authorized-networks": "value", "--availability-type": [ "regional", "zonal" ], "--backup-location": "value", "--backup-start-time": "value", "--clear-authorized-networks": "bool", "--clear-database-flags": "bool", "--clear-gae-apps": "bool", "--clear-labels": "bool", "--cpu": "value", "--database-flags": "value", "--diff": "bool", "--enable-bin-log": "bool", "--enable-database-replication": "bool", "--enable-point-in-time-recovery": "bool", "--follow-gae-app": "value", "--gce-zone": "value", "--maintenance-release-channel": [ "preview", "production" ], "--maintenance-window-any": "bool", "--maintenance-window-day": [ "FRI", "MON", "SAT", "SUN", "THU", "TUE", "WED" ], "--maintenance-window-hour": "value", "--memory": "value", "--network": "value", "--no-backup": "bool", "--pricing-plan": [ "PACKAGE", "PER_USE" ], "--remove-labels": "value", "--replication": [ "asynchronous", "synchronous" ], "--require-ssl": "bool", "--storage-auto-increase": "bool", "--storage-auto-increase-limit": "value", "--storage-size": "value", "--tier": "value", "--update-labels": "value", "--zone": "value" } }, "promote-replica": { "commands": {}, "flags": { "--async": "bool" } }, "reset-ssl-config": { "commands": {}, "flags": { "--async": "bool" } }, "restart": { "commands": {}, "flags": { "--async": "bool" } }, "restore-backup": { "commands": {}, "flags": { "--async": "bool", "--backup-id": "value", "--backup-instance": "dynamic" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "wait": { "commands": {}, "flags": { "--timeout": "value" } } }, "flags": {} }, "reschedule-maintenance": { "commands": {}, "flags": { "--reschedule-type": [ "IMMEDIATE", "NEXT_AVAILABLE_WINDOW", "SPECIFIC_TIME" ], "--schedule-time": "value" } }, "ssl": { "commands": { "client-certs": { "commands": { "create": { "commands": {}, "flags": { "--instance": "dynamic" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--instance": "dynamic" } }, "describe": { "commands": {}, "flags": { "--instance": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "server-ca-certs": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--instance": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "rollback": { "commands": {}, "flags": { "--async": "bool", "--instance": "dynamic" } }, "rotate": { "commands": {}, "flags": { "--async": "bool", "--instance": "dynamic" } } }, "flags": {} } }, "flags": {} }, "ssl-certs": { "commands": { "create": { "commands": {}, "flags": { "--instance": "dynamic" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--instance": "dynamic" } }, "describe": { "commands": {}, "flags": { "--instance": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "tiers": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "users": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--host": "value", "--instance": "dynamic", "--password": "value", "--type": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--host": "value", "--instance": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "set-password": { "commands": {}, "flags": { "--async": "bool", "--host": "value", "--instance": "dynamic", "--password": "value", "--prompt-for-password": "bool" } } }, "flags": {} } }, "flags": {} }, "survey": { "commands": {}, "flags": {} }, "tasks": { "commands": { "acknowledge": { "commands": {}, "flags": { "--queue": "value", "--schedule-time": "value" } }, "cancel-lease": { "commands": {}, "flags": { "--queue": "value", "--schedule-time": "value" } }, "create-app-engine-task": { "commands": {}, "flags": { "--header": "value", "--method": "value", "--payload-content": "value", "--payload-file": "value", "--queue": "value", "--routing": "value", "--schedule-time": "value", "--url": "value" } }, "create-http-task": { "commands": {}, "flags": { "--body-content": "value", "--body-file": "value", "--header": "value", "--method": "value", "--oauth-service-account-email": "value", "--oauth-token-scope": "value", "--oidc-service-account-email": "value", "--oidc-token-audience": "value", "--queue": "value", "--schedule-time": "value", "--url": "value" } }, "create-pull-task": { "commands": {}, "flags": { "--payload-content": "value", "--payload-file": "value", "--queue": "value", "--schedule-time": "value", "--tag": "value" } }, "delete": { "commands": {}, "flags": { "--queue": "value" } }, "describe": { "commands": {}, "flags": { "--queue": "value", "--response-view": [ "basic", "full", "view-unspecified" ] } }, "lease": { "commands": {}, "flags": { "--filter": "value", "--lease-duration": "value", "--limit": "value", "--oldest-tag": "bool", "--queue": "value", "--sort-by": "value", "--tag": "value", "--uri": "bool" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--queue": "value", "--sort-by": "value", "--uri": "bool" } }, "locations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "queues": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--max-attempts": "value", "--max-backoff": "value", "--max-concurrent-tasks": "value", "--max-doublings": "value", "--max-retry-duration": "value", "--max-tasks-dispatched-per-second": "value", "--min-backoff": "value", "--routing-override": "value" } }, "create-app-engine-queue": { "commands": {}, "flags": { "--max-attempts": "value", "--max-backoff": "value", "--max-concurrent-tasks": "value", "--max-doublings": "value", "--max-retry-duration": "value", "--max-tasks-dispatched-per-second": "value", "--min-backoff": "value", "--routing-override": "value" } }, "create-pull-queue": { "commands": {}, "flags": { "--max-attempts": "value", "--max-retry-duration": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "pause": { "commands": {}, "flags": {} }, "purge": { "commands": {}, "flags": {} }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "resume": { "commands": {}, "flags": {} }, "set-iam-policy": { "commands": {}, "flags": { "--location": "value" } }, "update": { "commands": {}, "flags": { "--clear-max-attempts": "bool", "--clear-max-backoff": "bool", "--clear-max-concurrent-tasks": "bool", "--clear-max-doublings": "bool", "--clear-max-retry-duration": "bool", "--clear-max-tasks-dispatched-per-second": "bool", "--clear-min-backoff": "bool", "--clear-routing-override": "bool", "--max-attempts": "value", "--max-backoff": "value", "--max-concurrent-tasks": "value", "--max-doublings": "value", "--max-retry-duration": "value", "--max-tasks-dispatched-per-second": "value", "--min-backoff": "value", "--routing-override": "value" } }, "update-app-engine-queue": { "commands": {}, "flags": { "--clear-max-attempts": "bool", "--clear-max-backoff": "bool", "--clear-max-concurrent-tasks": "bool", "--clear-max-doublings": "bool", "--clear-max-retry-duration": "bool", "--clear-max-tasks-dispatched-per-second": "bool", "--clear-min-backoff": "bool", "--clear-routing-override": "bool", "--max-attempts": "value", "--max-backoff": "value", "--max-concurrent-tasks": "value", "--max-doublings": "value", "--max-retry-duration": "value", "--max-tasks-dispatched-per-second": "value", "--min-backoff": "value", "--routing-override": "value" } }, "update-pull-queue": { "commands": {}, "flags": { "--clear-max-attempts": "bool", "--clear-max-retry-duration": "bool", "--max-attempts": "value", "--max-retry-duration": "value" } } }, "flags": {} }, "renew-lease": { "commands": {}, "flags": { "--lease-duration": "value", "--queue": "value", "--schedule-time": "value" } }, "run": { "commands": {}, "flags": { "--queue": "value" } } }, "flags": {} }, "trace": { "commands": { "sinks": { "commands": { "create": { "commands": {}, "flags": {} }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": {} } }, "flags": {} } }, "flags": {} }, "web-security-scanner": { "commands": { "scan-configs": { "commands": { "create": { "commands": {}, "flags": { "--auth-password": "value", "--auth-type": [ "custom", "google", "none" ], "--auth-url": "value", "--auth-user": "value", "--blacklist-patterns": "value", "--display-name": "value", "--export-to-security-center": "bool", "--max-qps": "value", "--risk-level": [ "low", "normal" ], "--schedule-interval-days": "value", "--schedule-next-start": "value", "--starting-urls": "value", "--target-platforms": "value", "--user-agent": [ "chrome-android", "chrome-linux", "safari-iphone", "user-agent-unspecified" ] } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--auth-password": "value", "--auth-type": [ "custom", "google", "none" ], "--auth-url": "value", "--auth-user": "value", "--blacklist-patterns": "value", "--display-name": "value", "--export-to-security-center": "bool", "--max-qps": "value", "--risk-level": [ "low", "normal" ], "--schedule-interval-days": "value", "--schedule-next-start": "value", "--starting-urls": "value", "--target-platforms": "value", "--user-agent": [ "chrome-android", "chrome-linux", "safari-iphone", "user-agent-unspecified" ] } } }, "flags": {} }, "scan-runs": { "commands": { "describe": { "commands": {}, "flags": { "--scan-config": "value" } }, "findings": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--scan-config": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--scan-config": "value", "--sort-by": "value", "--uri": "bool" } }, "list-crawled-urls": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--scan-config": "value", "--scan-run": "value", "--sort-by": "value" } }, "start": { "commands": {}, "flags": {} }, "stop": { "commands": {}, "flags": { "--scan-config": "value" } } }, "flags": {} } }, "flags": {} } }, "flags": {} }, "anthos": { "commands": { "auth": { "commands": { "login": { "commands": {}, "flags": { "--cluster": "value", "--dry-run": "bool", "--kubeconfig": "value", "--login-config": "value", "--login-config-cert": "value", "--user": "value" } } }, "flags": {} } }, "flags": {} }, "app": { "commands": { "browse": { "commands": {}, "flags": { "--launch-browser": "bool", "--service": "value" } }, "create": { "commands": {}, "flags": { "--region": "value" } }, "deploy": { "commands": {}, "flags": { "--bucket": "value", "--ignore-file": "value", "--image-url": "value", "--promote": "bool", "--stop-previous-version": "bool" } }, "describe": { "commands": {}, "flags": {} }, "domain-mappings": { "commands": { "create": { "commands": {}, "flags": { "--certificate-id": "value", "--certificate-management": [ "automatic", "manual" ] } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--certificate-id": "value", "--certificate-management": [ "automatic", "manual" ], "--no-certificate-id": "bool" } } }, "flags": {} }, "firewall-rules": { "commands": { "create": { "commands": {}, "flags": { "--action": [ "ALLOW", "DENY" ], "--description": "value", "--source-range": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "test-ip": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--action": [ "ALLOW", "DENY" ], "--description": "value", "--source-range": "value" } } }, "flags": {} }, "instances": { "commands": { "delete": { "commands": {}, "flags": { "--service": "value" } }, "describe": { "commands": {}, "flags": { "--service": "value" } }, "disable-debug": { "commands": {}, "flags": { "--service": "value" } }, "enable-debug": { "commands": {}, "flags": { "--service": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--service": "value", "--sort-by": "value", "--uri": "bool" } }, "scp": { "commands": {}, "flags": { "--compress": "bool", "--recurse": "bool", "--service": "value" } }, "ssh": { "commands": {}, "flags": { "--container": "value", "--service": "value" } } }, "flags": {} }, "logs": { "commands": { "read": { "commands": {}, "flags": { "--level": [ "any", "critical", "debug", "error", "info", "warning" ], "--limit": "value", "--logs": "value", "--service": "value" } }, "tail": { "commands": {}, "flags": { "--level": [ "any", "critical", "debug", "error", "info", "warning" ], "--logs": "value", "--service": "value" } } }, "flags": {} }, "open-console": { "commands": {}, "flags": { "--logs": "bool", "--service": "value" } }, "operations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--pending": "bool", "--sort-by": "value", "--uri": "bool" } }, "wait": { "commands": {}, "flags": {} } }, "flags": {} }, "regions": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "services": { "commands": { "browse": { "commands": {}, "flags": { "--launch-browser": "bool" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "set-traffic": { "commands": {}, "flags": { "--migrate": "bool", "--split-by": [ "cookie", "ip", "random" ], "--splits": "value" } } }, "flags": {} }, "ssl-certificates": { "commands": { "create": { "commands": {}, "flags": { "--certificate": "value", "--display-name": "value", "--private-key": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--certificate": "value", "--display-name": "value", "--private-key": "value" } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--split-health-checks": "bool" } }, "versions": { "commands": { "browse": { "commands": {}, "flags": { "--launch-browser": "bool", "--service": "value" } }, "delete": { "commands": {}, "flags": { "--service": "value" } }, "describe": { "commands": {}, "flags": { "--service": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--hide-no-traffic": "bool", "--limit": "value", "--page-size": "value", "--service": "value", "--sort-by": "value", "--uri": "bool" } }, "migrate": { "commands": {}, "flags": { "--service": "value" } }, "start": { "commands": {}, "flags": { "--service": "value" } }, "stop": { "commands": {}, "flags": { "--service": "value" } } }, "flags": {} } }, "flags": {} }, "asset": { "commands": { "export": { "commands": {}, "flags": { "--asset-types": "value", "--bigquery-dataset": "dynamic", "--bigquery-table": "dynamic", "--content-type": [ "access-policy", "iam-policy", "org-policy", "resource" ], "--folder": "value", "--organization": "value", "--output-bigquery-force": "bool", "--output-path": "value", "--output-path-prefix": "value", "--snapshot-time": "value" } }, "feeds": { "commands": { "create": { "commands": {}, "flags": { "--asset-names": "value", "--asset-types": "value", "--content-type": [ "iam-policy", "resource" ], "--folder": "value", "--organization": "value", "--pubsub-topic": "value" } }, "delete": { "commands": {}, "flags": { "--folder": "value", "--organization": "value" } }, "describe": { "commands": {}, "flags": { "--folder": "value", "--organization": "value" } }, "list": { "commands": {}, "flags": { "--folder": "value", "--organization": "value" } }, "update": { "commands": {}, "flags": { "--add-asset-names": "value", "--add-asset-types": "value", "--clear-asset-names": "bool", "--clear-asset-types": "bool", "--clear-content-type": "bool", "--content-type": [ "iam-policy", "resource" ], "--folder": "value", "--organization": "value", "--pubsub-topic": "value", "--remove-asset-names": "value", "--remove-asset-types": "value" } } }, "flags": {} }, "get-history": { "commands": {}, "flags": { "--asset-names": "value", "--content-type": [ "access-policy", "iam-policy", "org-policy", "resource" ], "--end-time": "value", "--organization": "value", "--start-time": "value" } }, "operations": { "commands": { "describe": { "commands": {}, "flags": {} } }, "flags": {} } }, "flags": {} }, "auth": { "commands": { "activate-service-account": { "commands": {}, "flags": { "--key-file": "value", "--password-file": "value", "--prompt-for-password": "bool" } }, "application-default": { "commands": { "login": { "commands": {}, "flags": { "--add-quota-project": "bool", "--client-id-file": "value", "--launch-browser": "bool", "--scopes": "value" } }, "print-access-token": { "commands": {}, "flags": {} }, "revoke": { "commands": {}, "flags": {} }, "set-quota-project": { "commands": {}, "flags": {} } }, "flags": {} }, "configure-docker": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--filter-account": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "login": { "commands": {}, "flags": { "--activate": "bool", "--brief": "bool", "--enable-gdrive-access": "bool", "--force": "bool", "--launch-browser": "bool", "--update-adc": "bool" } }, "print-access-token": { "commands": {}, "flags": {} }, "print-identity-token": { "commands": {}, "flags": { "--audiences": "value", "--include-email": "bool", "--include-license": "bool", "--token-format": [ "full", "standard" ] } }, "revoke": { "commands": {}, "flags": { "--all": "bool" } } }, "flags": {} }, "beta": { "commands": { "access-context-manager": { "commands": { "levels": { "commands": { "conditions": { "commands": { "list": { "commands": {}, "flags": { "--level": "value", "--policy": "value" } } }, "flags": {} }, "create": { "commands": {}, "flags": { "--async": "bool", "--basic-level-spec": "value", "--combine-function": [ "and", "or" ], "--custom-level-spec": "value", "--description": "value", "--policy": "value", "--title": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--policy": "value" } }, "describe": { "commands": {}, "flags": { "--policy": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--policy": "value", "--sort-by": "value" } }, "replace-all": { "commands": {}, "flags": { "--etag": "value", "--source-file": "value" } }, "update": { "commands": {}, "flags": { "--basic-level-spec": "value", "--combine-function": [ "and", "or" ], "--custom-level-spec": "value", "--description": "value", "--policy": "value", "--title": "value" } } }, "flags": {} }, "perimeters": { "commands": { "create": { "commands": {}, "flags": { "--access-levels": "value", "--async": "bool", "--description": "value", "--perimeter-type": [ "bridge", "regular" ], "--policy": "value", "--resources": "value", "--restricted-services": "value", "--title": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--policy": "value" } }, "describe": { "commands": {}, "flags": { "--policy": "value" } }, "dry-run": { "commands": { "commit": { "commands": {}, "flags": { "--etag": "value", "--policy": "value" } }, "create": { "commands": {}, "flags": { "--access-levels": "value", "--async": "bool", "--enable-vpc-accessible-services": "bool", "--perimeter-access-levels": "value", "--perimeter-description": "value", "--perimeter-enable-vpc-accessible-services": "bool", "--perimeter-resources": "value", "--perimeter-restricted-services": "value", "--perimeter-title": "value", "--perimeter-type": "value", "--perimeter-vpc-allowed-services": "value", "--policy": "value", "--resources": "value", "--restricted-services": "value", "--vpc-allowed-services": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--policy": "value" } }, "describe": { "commands": {}, "flags": { "--policy": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--policy": "value", "--sort-by": "value" } }, "reset": { "commands": {}, "flags": { "--async": "bool", "--policy": "value" } }, "update": { "commands": {}, "flags": { "--add-access-levels": "value", "--add-resources": "value", "--add-restricted-services": "value", "--add-vpc-allowed-services": "value", "--async": "bool", "--clear-access-levels": "bool", "--clear-resources": "bool", "--clear-restricted-services": "bool", "--clear-vpc-allowed-services": "bool", "--enable-vpc-accessible-services": "bool", "--policy": "value", "--remove-access-levels": "value", "--remove-resources": "value", "--remove-restricted-services": "value", "--remove-vpc-allowed-services": "value" } } }, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--policy": "value", "--sort-by": "value" } }, "replace-all": { "commands": {}, "flags": { "--etag": "value", "--source-file": "value" } }, "update": { "commands": {}, "flags": { "--add-access-levels": "value", "--add-resources": "value", "--add-restricted-services": "value", "--clear-access-levels": "bool", "--clear-resources": "bool", "--clear-restricted-services": "bool", "--description": "value", "--policy": "value", "--remove-access-levels": "value", "--remove-resources": "value", "--remove-restricted-services": "value", "--set-access-levels": "value", "--set-resources": "value", "--set-restricted-services": "value", "--title": "value", "--type": [ "bridge", "regular" ] } } }, "flags": {} }, "policies": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--organization": "value", "--title": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--organization": "value", "--page-size": "value", "--sort-by": "value" } }, "update": { "commands": {}, "flags": { "--title": "value" } } }, "flags": {} } }, "flags": {} }, "active-directory": { "commands": { "domains": { "commands": { "create": { "commands": {}, "flags": { "--admin-name": "value", "--async": "bool", "--authorized-networks": "value", "--labels": "value", "--region": "value", "--reserved-ip-range": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool" } }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "reset-admin-password": { "commands": {}, "flags": {} }, "set-iam-policy": { "commands": {}, "flags": {} }, "trusts": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--direction": [ "bidirectional", "inbound", "outbound", "trust-direction-unspecified" ], "--handshake-secret": "value", "--selective-authentication": "bool", "--target-dns-ip-addresses": "value", "--target-domain-name": "value", "--type": [ "external", "forest", "trust-type-unspecified" ] } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--target-domain-name": "value" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--target-dns-ip-addresses": "value", "--target-domain-name": "value" } }, "validate-state": { "commands": {}, "flags": { "--async": "bool", "--target-domain-name": "value" } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--add-authorized-networks": "value", "--add-region": "value", "--async": "bool", "--clear-labels": "bool", "--remove-authorized-networks": "value", "--remove-labels": "value", "--remove-region": "value", "--update-labels": "value" } } }, "flags": {} }, "operations": { "commands": { "cancel": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} } }, "flags": {} }, "ai-platform": { "commands": { "explain": { "commands": {}, "flags": { "--json-instances": "value", "--model": "value", "--text-instances": "value" } }, "jobs": { "commands": { "cancel": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": { "--summarize": "bool" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "stream-logs": { "commands": {}, "flags": { "--allow-multiline-logs": "bool", "--polling-interval": "value", "--task-name": "value" } }, "submit": { "commands": { "prediction": { "commands": {}, "flags": { "--batch-size": "value", "--data-format": [ "text", "tf-record", "tf-record-gzip" ], "--input-paths": "value", "--labels": "value", "--max-worker-count": "value", "--model": "value", "--model-dir": "value", "--output-path": "value", "--region": "value", "--runtime-version": "value", "--signature-name": "value" } }, "training": { "commands": {}, "flags": { "--async": "bool", "--config": "value", "--job-dir": "value", "--labels": "value", "--master-accelerator": "value", "--master-image-uri": "value", "--master-machine-type": "value", "--module-name": "value", "--package-path": "value", "--packages": "value", "--parameter-server-accelerator": "value", "--parameter-server-count": "value", "--parameter-server-image-uri": "value", "--parameter-server-machine-type": "value", "--python-version": "value", "--region": "dynamic", "--runtime-version": "value", "--scale-tier": [ "basic", "basic-gpu", "basic-tpu", "custom", "premium-1", "standard-1" ], "--staging-bucket": "value", "--stream-logs": "bool", "--tpu-tf-version": "value", "--use-chief-in-tf-config": "value", "--worker-accelerator": "value", "--worker-count": "value", "--worker-image-uri": "value", "--worker-machine-type": "value" } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "local": { "commands": { "predict": { "commands": {}, "flags": { "--framework": [ "scikit-learn", "tensorflow", "xgboost" ], "--json-instances": "value", "--model-dir": "value", "--signature-name": "value", "--text-instances": "value" } }, "train": { "commands": {}, "flags": { "--distributed": "bool", "--evaluator-count": "value", "--job-dir": "value", "--module-name": "value", "--package-path": "value", "--parameter-server-count": "value", "--start-port": "value", "--worker-count": "value" } } }, "flags": {} }, "models": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--description": "value", "--enable-console-logging": "bool", "--enable-logging": "bool", "--labels": "value", "--regions": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "value" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--description": "value", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "operations": { "commands": { "cancel": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "wait": { "commands": {}, "flags": {} } }, "flags": {} }, "predict": { "commands": {}, "flags": { "--json-instances": "value", "--model": "value", "--signature-name": "value", "--text-instances": "value" } }, "versions": { "commands": { "create": { "commands": {}, "flags": { "--accelerator": "value", "--async": "bool", "--config": "value", "--description": "value", "--explanation-method": [ "integrated-gradients", "sampled-shapley", "xrai" ], "--framework": [ "scikit-learn", "tensorflow", "xgboost" ], "--labels": "value", "--machine-type": "value", "--model": "value", "--num-integral-steps": "value", "--num-paths": "value", "--origin": "value", "--package-uris": "value", "--prediction-class": "value", "--python-version": "value", "--runtime-version": "value", "--service-account": "value", "--staging-bucket": "value" } }, "delete": { "commands": {}, "flags": { "--model": "value" } }, "describe": { "commands": {}, "flags": { "--model": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--model": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "set-default": { "commands": {}, "flags": { "--model": "value" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--description": "value", "--model": "value", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} } }, "flags": {} }, "anthos": { "commands": { "auth": { "commands": { "login": { "commands": {}, "flags": { "--cluster": "value", "--dry-run": "bool", "--kubeconfig": "value", "--login-config": "value", "--login-config-cert": "value", "--user": "value" } } }, "flags": {} } }, "flags": {} }, "app": { "commands": { "browse": { "commands": {}, "flags": { "--launch-browser": "bool", "--service": "value" } }, "create": { "commands": {}, "flags": { "--region": "value" } }, "deploy": { "commands": {}, "flags": { "--bucket": "value", "--ignore-file": "value", "--image-url": "value", "--no-cache": "bool", "--promote": "bool", "--stop-previous-version": "bool" } }, "describe": { "commands": {}, "flags": {} }, "domain-mappings": { "commands": { "create": { "commands": {}, "flags": { "--certificate-id": "value", "--certificate-management": [ "automatic", "manual" ] } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--certificate-id": "value", "--certificate-management": [ "automatic", "manual" ], "--no-certificate-id": "bool" } } }, "flags": {} }, "firewall-rules": { "commands": { "create": { "commands": {}, "flags": { "--action": [ "ALLOW", "DENY" ], "--description": "value", "--source-range": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "test-ip": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--action": [ "ALLOW", "DENY" ], "--description": "value", "--source-range": "value" } } }, "flags": {} }, "gen-config": { "commands": {}, "flags": { "--config": "value", "--custom": "bool", "--runtime": "value" } }, "instances": { "commands": { "delete": { "commands": {}, "flags": { "--service": "value" } }, "describe": { "commands": {}, "flags": { "--service": "value" } }, "disable-debug": { "commands": {}, "flags": { "--service": "value" } }, "enable-debug": { "commands": {}, "flags": { "--service": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--service": "value", "--sort-by": "value", "--uri": "bool" } }, "scp": { "commands": {}, "flags": { "--compress": "bool", "--recurse": "bool", "--service": "value" } }, "ssh": { "commands": {}, "flags": { "--container": "value", "--service": "value" } } }, "flags": {} }, "logs": { "commands": { "read": { "commands": {}, "flags": { "--level": [ "any", "critical", "debug", "error", "info", "warning" ], "--limit": "value", "--logs": "value", "--service": "value" } }, "tail": { "commands": {}, "flags": { "--level": [ "any", "critical", "debug", "error", "info", "warning" ], "--logs": "value", "--service": "value" } } }, "flags": {} }, "migrate-config": { "commands": { "cron-xml-to-yaml": { "commands": {}, "flags": {} }, "datastore-indexes-xml-to-yaml": { "commands": {}, "flags": { "--generated-indexes-file": "value" } }, "dispatch-xml-to-yaml": { "commands": {}, "flags": {} }, "queue-xml-to-yaml": { "commands": {}, "flags": {} } }, "flags": {} }, "open-console": { "commands": {}, "flags": { "--logs": "bool", "--service": "value" } }, "operations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--pending": "bool", "--sort-by": "value", "--uri": "bool" } }, "wait": { "commands": {}, "flags": {} } }, "flags": {} }, "regions": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "repair": { "commands": {}, "flags": {} }, "services": { "commands": { "browse": { "commands": {}, "flags": { "--launch-browser": "bool" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "set-traffic": { "commands": {}, "flags": { "--migrate": "bool", "--split-by": [ "cookie", "ip", "random" ], "--splits": "value" } } }, "flags": {} }, "ssl-certificates": { "commands": { "create": { "commands": {}, "flags": { "--certificate": "value", "--display-name": "value", "--private-key": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--certificate": "value", "--display-name": "value", "--private-key": "value" } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--split-health-checks": "bool" } }, "versions": { "commands": { "browse": { "commands": {}, "flags": { "--launch-browser": "bool", "--service": "value" } }, "delete": { "commands": {}, "flags": { "--service": "value" } }, "describe": { "commands": {}, "flags": { "--service": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--hide-no-traffic": "bool", "--limit": "value", "--page-size": "value", "--service": "value", "--sort-by": "value", "--uri": "bool" } }, "migrate": { "commands": {}, "flags": { "--service": "value" } }, "start": { "commands": {}, "flags": { "--service": "value" } }, "stop": { "commands": {}, "flags": { "--service": "value" } } }, "flags": {} } }, "flags": {} }, "artifacts": { "commands": { "docker": { "commands": { "images": { "commands": { "delete": { "commands": {}, "flags": { "--async": "bool", "--delete-tags": "bool" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--include-tags": "bool", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} }, "tags": { "commands": { "add": { "commands": {}, "flags": {} }, "delete": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} } }, "flags": {} }, "locations": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": { "--location": "value" } } }, "flags": {} }, "packages": { "commands": { "delete": { "commands": {}, "flags": { "--async": "bool", "--location": "value", "--repository": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--repository": "value", "--sort-by": "value" } } }, "flags": {} }, "print-settings": { "commands": { "gradle": { "commands": {}, "flags": { "--location": "value", "--repository": "value" } }, "mvn": { "commands": {}, "flags": { "--location": "value", "--repository": "value" } }, "npm": { "commands": {}, "flags": { "--location": "value", "--repository": "value", "--scope": "value" } } }, "flags": {} }, "repositories": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--async": "bool", "--description": "value", "--location": "value", "--repository-format": [ "docker", "format-unspecified", "maven", "npm" ] } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--location": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--location": "value" } } }, "flags": {} }, "tags": { "commands": { "create": { "commands": {}, "flags": { "--location": "value", "--package": "value", "--repository": "value" } }, "delete": { "commands": {}, "flags": { "--location": "value", "--package": "value", "--repository": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--package": "value", "--page-size": "value", "--repository": "value", "--sort-by": "value" } }, "update": { "commands": {}, "flags": { "--location": "value", "--package": "value", "--repository": "value" } } }, "flags": {} }, "versions": { "commands": { "delete": { "commands": {}, "flags": { "--async": "bool", "--delete-tags": "bool", "--location": "value", "--package": "value", "--repository": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--package": "value", "--page-size": "value", "--repository": "value", "--sort-by": "value" } } }, "flags": {} } }, "flags": {} }, "asset": { "commands": { "analyze-iam-policy": { "commands": {}, "flags": { "--execution-timeout": "value", "--expand-groups": "bool", "--expand-resources": "bool", "--expand-roles": "bool", "--folder": "value", "--full-resource-name": "value", "--identity": "value", "--organization": "value", "--output-group-edges": "bool", "--output-resource-edges": "bool", "--permissions": "value", "--roles": "value", "--show-response": "bool" } }, "export": { "commands": {}, "flags": { "--asset-types": "value", "--bigquery-dataset": "dynamic", "--bigquery-table": "dynamic", "--content-type": [ "access-policy", "iam-policy", "org-policy", "resource" ], "--folder": "value", "--organization": "value", "--output-bigquery-force": "bool", "--output-path": "value", "--output-path-prefix": "value", "--snapshot-time": "value" } }, "feeds": { "commands": { "create": { "commands": {}, "flags": { "--asset-names": "value", "--asset-types": "value", "--content-type": [ "iam-policy", "resource" ], "--folder": "value", "--organization": "value", "--pubsub-topic": "value" } }, "delete": { "commands": {}, "flags": { "--folder": "value", "--organization": "value" } }, "describe": { "commands": {}, "flags": { "--folder": "value", "--organization": "value" } }, "list": { "commands": {}, "flags": { "--folder": "value", "--organization": "value" } }, "update": { "commands": {}, "flags": { "--add-asset-names": "value", "--add-asset-types": "value", "--clear-asset-names": "bool", "--clear-asset-types": "bool", "--clear-content-type": "bool", "--content-type": [ "iam-policy", "resource" ], "--folder": "value", "--organization": "value", "--pubsub-topic": "value", "--remove-asset-names": "value", "--remove-asset-types": "value" } } }, "flags": {} }, "get-history": { "commands": {}, "flags": { "--asset-names": "value", "--content-type": [ "access-policy", "iam-policy", "org-policy", "resource" ], "--end-time": "value", "--organization": "value", "--start-time": "value" } }, "operations": { "commands": { "describe": { "commands": {}, "flags": {} } }, "flags": {} }, "search-all-iam-policies": { "commands": {}, "flags": { "--page-size": "value", "--page-token": "value", "--query": "value", "--scope": "value" } }, "search-all-resources": { "commands": {}, "flags": { "--asset-types": "value", "--page-size": "value", "--page-token": "value", "--query": "value", "--scope": "value" } } }, "flags": {} }, "auth": { "commands": { "activate-service-account": { "commands": {}, "flags": { "--key-file": "value", "--password-file": "value", "--prompt-for-password": "bool" } }, "application-default": { "commands": { "login": { "commands": {}, "flags": { "--add-quota-project": "bool", "--client-id-file": "value", "--launch-browser": "bool", "--scopes": "value" } }, "print-access-token": { "commands": {}, "flags": {} }, "revoke": { "commands": {}, "flags": {} }, "set-quota-project": { "commands": {}, "flags": {} } }, "flags": {} }, "configure-docker": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--filter-account": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "login": { "commands": {}, "flags": { "--activate": "bool", "--brief": "bool", "--enable-gdrive-access": "bool", "--force": "bool", "--launch-browser": "bool", "--update-adc": "bool" } }, "print-access-token": { "commands": {}, "flags": {} }, "print-identity-token": { "commands": {}, "flags": { "--audiences": "value", "--include-email": "bool", "--include-license": "bool", "--token-format": [ "full", "standard" ] } }, "revoke": { "commands": {}, "flags": { "--all": "bool" } } }, "flags": {} }, "bigtable": { "commands": { "app-profiles": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--force": "bool", "--instance": "dynamic", "--route-any": "bool", "--route-to": "dynamic", "--transactional-writes": "bool" } }, "delete": { "commands": {}, "flags": { "--force": "bool", "--instance": "dynamic" } }, "describe": { "commands": {}, "flags": { "--instance": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--description": "value", "--force": "bool", "--instance": "dynamic", "--route-any": "bool", "--route-to": "dynamic", "--transactional-writes": "bool" } } }, "flags": {} }, "clusters": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--instance": "dynamic", "--num-nodes": "value", "--zone": "value" } }, "delete": { "commands": {}, "flags": { "--instance": "dynamic" } }, "describe": { "commands": {}, "flags": { "--instance": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instances": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--instance": "dynamic", "--num-nodes": "value" } } }, "flags": {} }, "instances": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--async": "bool", "--cluster": "dynamic", "--cluster-num-nodes": "value", "--cluster-storage-type": [ "hdd", "ssd" ], "--cluster-zone": "value", "--display-name": "value", "--instance-type": [ "DEVELOPMENT", "PRODUCTION" ] } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "tables": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--instance": "dynamic", "--member": "value", "--role": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instances": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--instance": "dynamic", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--instance": "dynamic" } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--display-name": "value" } }, "upgrade": { "commands": {}, "flags": { "--async": "bool" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "billing": { "commands": { "accounts": { "commands": { "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "set-iam-policy": { "commands": {}, "flags": {} } }, "flags": {} }, "projects": { "commands": { "describe": { "commands": {}, "flags": {} }, "link": { "commands": {}, "flags": { "--billing-account": "dynamic" } }, "list": { "commands": {}, "flags": { "--billing-account": "dynamic", "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "unlink": { "commands": {}, "flags": {} } }, "flags": {} } }, "flags": {} }, "builds": { "commands": { "cancel": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--ongoing": "bool", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "log": { "commands": {}, "flags": { "--stream": "bool" } }, "submit": { "commands": {}, "flags": { "--async": "bool", "--config": "value", "--disk-size": "value", "--gcs-log-dir": "value", "--gcs-source-staging-dir": "value", "--ignore-file": "value", "--machine-type": [ "n1-highcpu-32", "n1-highcpu-8" ], "--no-cache": "bool", "--no-source": "bool", "--substitutions": "value", "--tag": "value", "--timeout": "value" } }, "triggers": { "commands": { "create": { "commands": { "cloud-source-repositories": { "commands": {}, "flags": { "--branch-pattern": "value", "--build-config": "value", "--description": "value", "--dockerfile": "value", "--dockerfile-dir": "value", "--dockerfile-image": "value", "--ignored-files": "value", "--included-files": "value", "--repo": "value", "--substitutions": "value", "--tag-pattern": "value", "--trigger-config": "value" } }, "github": { "commands": {}, "flags": { "--branch-pattern": "value", "--build-config": "value", "--comment-control": "bool", "--description": "value", "--dockerfile": "value", "--dockerfile-dir": "value", "--dockerfile-image": "value", "--ignored-files": "value", "--included-files": "value", "--pull-request-pattern": "value", "--repo-name": "value", "--repo-owner": "value", "--substitutions": "value", "--tag-pattern": "value", "--trigger-config": "value" } } }, "flags": {} }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "export": { "commands": {}, "flags": { "--destination": "value" } }, "import": { "commands": {}, "flags": { "--source": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "run": { "commands": {}, "flags": { "--branch": "value", "--sha": "value", "--tag": "value" } } }, "flags": {} } }, "flags": {} }, "composer": { "commands": { "environments": { "commands": { "create": { "commands": {}, "flags": { "--airflow-configs": "value", "--airflow-version": "value", "--async": "bool", "--cluster-ipv4-cidr": "value", "--cluster-secondary-range-name": "value", "--disk-size": "value", "--enable-ip-alias": "bool", "--enable-private-endpoint": "bool", "--enable-private-environment": "bool", "--env-variables": "value", "--image-version": "value", "--labels": "value", "--location": "value", "--machine-type": "value", "--master-ipv4-cidr": "value", "--network": "value", "--node-count": "value", "--oauth-scopes": "value", "--python-version": [ "2", "3" ], "--service-account": "value", "--services-ipv4-cidr": "value", "--services-secondary-range-name": "value", "--subnetwork": "value", "--tags": "value", "--web-server-allow-ip": "value", "--web-server-deny-all": "bool", "--zone": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--locations": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "list-upgrades": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "run": { "commands": {}, "flags": { "--location": "value" } }, "storage": { "commands": { "dags": { "commands": { "delete": { "commands": {}, "flags": { "--environment": "value", "--location": "value" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--environment": "value", "--location": "value", "--source": "value" } }, "import": { "commands": {}, "flags": { "--destination": "value", "--environment": "value", "--location": "value", "--source": "value" } }, "list": { "commands": {}, "flags": { "--environment": "value", "--location": "value" } } }, "flags": {} }, "data": { "commands": { "delete": { "commands": {}, "flags": { "--environment": "value", "--location": "value" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--environment": "value", "--location": "value", "--source": "value" } }, "import": { "commands": {}, "flags": { "--destination": "value", "--environment": "value", "--location": "value", "--source": "value" } }, "list": { "commands": {}, "flags": { "--environment": "value", "--location": "value" } } }, "flags": {} }, "plugins": { "commands": { "delete": { "commands": {}, "flags": { "--environment": "value", "--location": "value" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--environment": "value", "--location": "value", "--source": "value" } }, "import": { "commands": {}, "flags": { "--destination": "value", "--environment": "value", "--location": "value", "--source": "value" } }, "list": { "commands": {}, "flags": { "--environment": "value", "--location": "value" } } }, "flags": {} } }, "flags": {} }, "update": { "commands": {}, "flags": { "--airflow-version": "value", "--async": "bool", "--clear-airflow-configs": "bool", "--clear-env-variables": "bool", "--clear-labels": "bool", "--clear-pypi-packages": "bool", "--image-version": "value", "--location": "value", "--node-count": "value", "--remove-airflow-configs": "value", "--remove-env-variables": "value", "--remove-labels": "value", "--remove-pypi-packages": "value", "--update-airflow-configs": "value", "--update-env-variables": "value", "--update-labels": "value", "--update-pypi-package": "value", "--update-pypi-packages-from-file": "value", "--update-web-server-allow-ip": "value", "--web-server-allow-all": "bool", "--web-server-deny-all": "bool" } } }, "flags": {} }, "operations": { "commands": { "delete": { "commands": {}, "flags": { "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--locations": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "wait": { "commands": {}, "flags": { "--location": "value" } } }, "flags": {} } }, "flags": {} }, "compute": { "commands": { "accelerator-types": { "commands": { "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "addresses": { "commands": { "create": { "commands": {}, "flags": { "--addresses": "value", "--description": "value", "--global": "bool", "--ip-version": [ "IPV4", "IPV6" ], "--network": "value", "--network-tier": "value", "--prefix-length": "value", "--purpose": [ "GCE_ENDPOINT", "SHARED_LOADBALANCER_VIP", "VPC_PEERING" ], "--region": "dynamic", "--subnet": "value" } }, "delete": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--global": "bool", "--region": "dynamic", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "backend-buckets": { "commands": { "add-signed-url-key": { "commands": {}, "flags": { "--key-file": "value", "--key-name": "value" } }, "create": { "commands": {}, "flags": { "--description": "value", "--enable-cdn": "bool", "--gcs-bucket-name": "dynamic", "--signed-url-cache-max-age": "value" } }, "delete": { "commands": {}, "flags": {} }, "delete-signed-url-key": { "commands": {}, "flags": { "--key-name": "value" } }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--description": "value", "--enable-cdn": "bool", "--gcs-bucket-name": "dynamic", "--signed-url-cache-max-age": "value" } } }, "flags": {} }, "backend-services": { "commands": { "add-backend": { "commands": {}, "flags": { "--balancing-mode": [ "CONNECTION", "RATE", "UTILIZATION" ], "--capacity-scaler": "value", "--description": "value", "--failover": "bool", "--global": "bool", "--global-network-endpoint-group": "bool", "--instance-group": "dynamic", "--instance-group-region": "dynamic", "--instance-group-zone": "dynamic", "--max-connections": "value", "--max-connections-per-endpoint": "value", "--max-connections-per-instance": "value", "--max-rate": "value", "--max-rate-per-endpoint": "value", "--max-rate-per-instance": "value", "--max-utilization": "value", "--network-endpoint-group": "value", "--network-endpoint-group-zone": "dynamic", "--region": "dynamic" } }, "add-signed-url-key": { "commands": {}, "flags": { "--key-file": "value", "--key-name": "value" } }, "create": { "commands": {}, "flags": { "--affinity-cookie-ttl": "value", "--cache-key-include-host": "bool", "--cache-key-include-protocol": "bool", "--cache-key-include-query-string": "bool", "--cache-key-query-string-blacklist": "value", "--cache-key-query-string-whitelist": "value", "--connection-drain-on-failover": "bool", "--connection-draining-timeout": "value", "--custom-request-header": "value", "--description": "value", "--drop-traffic-if-unhealthy": "bool", "--enable-cdn": "bool", "--enable-logging": "bool", "--failover-ratio": "value", "--global": "bool", "--global-health-checks": "bool", "--health-checks": "dynamic", "--health-checks-region": "dynamic", "--http-health-checks": "dynamic", "--https-health-checks": "dynamic", "--iap": "value", "--load-balancing-scheme": [ "EXTERNAL", "INTERNAL", "INTERNAL_MANAGED", "INTERNAL_SELF_MANAGED" ], "--logging-sample-rate": "value", "--network": "value", "--port-name": "value", "--protocol": "value", "--region": "dynamic", "--session-affinity": [ "CLIENT_IP", "CLIENT_IP_PORT_PROTO", "CLIENT_IP_PROTO", "GENERATED_COOKIE", "HEADER_FIELD", "HTTP_COOKIE", "NONE" ], "--signed-url-cache-max-age": "value", "--timeout": "value" } }, "delete": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "delete-signed-url-key": { "commands": {}, "flags": { "--key-name": "value" } }, "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "edit": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--global": "bool", "--region": "dynamic" } }, "get-health": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool" } }, "import": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic", "--source": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-backend": { "commands": {}, "flags": { "--global": "bool", "--global-network-endpoint-group": "bool", "--instance-group": "dynamic", "--instance-group-region": "dynamic", "--instance-group-zone": "dynamic", "--network-endpoint-group": "value", "--network-endpoint-group-zone": "dynamic", "--region": "dynamic" } }, "update": { "commands": {}, "flags": { "--affinity-cookie-ttl": "value", "--cache-key-include-host": "bool", "--cache-key-include-protocol": "bool", "--cache-key-include-query-string": "bool", "--cache-key-query-string-blacklist": "value", "--cache-key-query-string-whitelist": "value", "--connection-drain-on-failover": "bool", "--connection-draining-timeout": "value", "--custom-request-header": "value", "--description": "value", "--drop-traffic-if-unhealthy": "bool", "--enable-cdn": "bool", "--enable-logging": "bool", "--failover-ratio": "value", "--global": "bool", "--global-health-checks": "bool", "--health-checks": "dynamic", "--health-checks-region": "dynamic", "--http-health-checks": "dynamic", "--https-health-checks": "dynamic", "--iap": "value", "--logging-sample-rate": "value", "--no-custom-request-headers": "bool", "--no-health-checks": "bool", "--port-name": "value", "--protocol": "value", "--region": "dynamic", "--security-policy": "dynamic", "--session-affinity": [ "CLIENT_IP", "CLIENT_IP_PORT_PROTO", "CLIENT_IP_PROTO", "GENERATED_COOKIE", "HEADER_FIELD", "HTTP_COOKIE", "NONE" ], "--signed-url-cache-max-age": "value", "--timeout": "value" } }, "update-backend": { "commands": {}, "flags": { "--balancing-mode": [ "CONNECTION", "RATE", "UTILIZATION" ], "--capacity-scaler": "value", "--description": "value", "--failover": "bool", "--global": "bool", "--instance-group": "dynamic", "--instance-group-region": "dynamic", "--instance-group-zone": "dynamic", "--max-connections": "value", "--max-connections-per-endpoint": "value", "--max-connections-per-instance": "value", "--max-rate": "value", "--max-rate-per-endpoint": "value", "--max-rate-per-instance": "value", "--max-utilization": "value", "--network-endpoint-group": "value", "--network-endpoint-group-zone": "dynamic", "--region": "dynamic" } } }, "flags": {} }, "commitments": { "commands": { "create": { "commands": {}, "flags": { "--accelerator": "value", "--local-ssd": "value", "--machine-type": "value", "--min-cpu-platform": "value", "--plan": [ "12-month", "36-month" ], "--region": "dynamic", "--require-specific-reservation": "bool", "--reservation": "dynamic", "--reservation-zone": "dynamic", "--reservations-from-file": "value", "--resources": "value", "--resources-accelerator": "value", "--type": [ "compute-optimized", "general-purpose", "general-purpose-e2", "general-purpose-n2", "general-purpose-n2d", "memory-optimized" ], "--vm-count": "value" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "update-reservations": { "commands": {}, "flags": { "--accelerator": "value", "--local-ssd": "value", "--machine-type": "value", "--min-cpu-platform": "value", "--region": "dynamic", "--require-specific-reservation": "bool", "--reservation": "dynamic", "--reservation-zone": "dynamic", "--reservations-from-file": "value", "--vm-count": "value" } } }, "flags": {} }, "config-ssh": { "commands": {}, "flags": { "--dry-run": "bool", "--force-key-file-overwrite": "bool", "--remove": "bool", "--ssh-config-file": "value", "--ssh-key-file": "value" } }, "connect-to-serial-port": { "commands": {}, "flags": { "--dry-run": "bool", "--extra-args": "value", "--force-key-file-overwrite": "bool", "--port": "value", "--ssh-key-expiration": "value", "--ssh-key-expire-after": "value", "--ssh-key-file": "value", "--zone": "dynamic" } }, "copy-files": { "commands": {}, "flags": { "--dry-run": "bool", "--force-key-file-overwrite": "bool", "--plain": "bool", "--ssh-key-expiration": "value", "--ssh-key-expire-after": "value", "--ssh-key-file": "value", "--strict-host-key-checking": [ "ask", "no", "yes" ], "--zone": "value" } }, "diagnose": { "commands": { "export-logs": { "commands": {}, "flags": { "--collect-process-traces": "bool", "--zone": "dynamic" } }, "routes": { "commands": {}, "flags": { "--container": "value", "--dry-run": "bool", "--external-route-ip": "value", "--force-key-file-overwrite": "bool", "--plain": "bool", "--regexp": "value", "--reverse-traceroute": "bool", "--ssh-flag": "value", "--ssh-key-expiration": "value", "--ssh-key-expire-after": "value", "--ssh-key-file": "value", "--strict-host-key-checking": [ "ask", "no", "yes" ], "--user": "value", "--zones": "dynamic" } } }, "flags": {} }, "disk-types": { "commands": { "describe": { "commands": {}, "flags": { "--region": "dynamic", "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool", "--zones": "value" } } }, "flags": {} }, "disks": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic", "--zone": "value" } }, "add-labels": { "commands": {}, "flags": { "--labels": "value", "--region": "dynamic", "--zone": "dynamic" } }, "add-resource-policies": { "commands": {}, "flags": { "--region": "dynamic", "--resource-policies": "value", "--zone": "dynamic" } }, "create": { "commands": {}, "flags": { "--csek-key-file": "value", "--description": "value", "--erase-windows-vss-signature": "bool", "--guest-os-features": "value", "--image": "value", "--image-family": "value", "--image-project": "value", "--kms-key": "dynamic", "--kms-keyring": "dynamic", "--kms-location": "dynamic", "--kms-project": "dynamic", "--labels": "value", "--licenses": "value", "--physical-block-size": [ "16384", "4096" ], "--region": "dynamic", "--replica-zones": "value", "--require-csek-key-create": "bool", "--resource-policies": "value", "--size": "value", "--source-snapshot": "dynamic", "--type": "dynamic", "--zone": "dynamic" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic", "--zone": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic", "--zone": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool", "--zones": "value" } }, "move": { "commands": {}, "flags": { "--async": "bool", "--destination-zone": "dynamic", "--zone": "dynamic" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic", "--zone": "value" } }, "remove-labels": { "commands": {}, "flags": { "--all": "bool", "--labels": "value", "--region": "dynamic", "--zone": "dynamic" } }, "remove-resource-policies": { "commands": {}, "flags": { "--region": "dynamic", "--resource-policies": "value", "--zone": "dynamic" } }, "resize": { "commands": {}, "flags": { "--region": "dynamic", "--size": "value", "--zone": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--zone": "value" } }, "snapshot": { "commands": {}, "flags": { "--async": "bool", "--csek-key-file": "value", "--description": "value", "--guest-flush": "bool", "--labels": "value", "--region": "dynamic", "--snapshot-names": "value", "--storage-location": "value", "--zone": "dynamic" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--region": "dynamic", "--remove-labels": "value", "--update-labels": "value", "--zone": "dynamic" } } }, "flags": {} }, "external-vpn-gateways": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--interfaces": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "firewall-rules": { "commands": { "create": { "commands": {}, "flags": { "--action": [ "ALLOW", "DENY" ], "--allow": "value", "--description": "value", "--destination-ranges": "value", "--direction": [ "EGRESS", "IN", "INGRESS", "OUT" ], "--disabled": "bool", "--enable-logging": "bool", "--logging-metadata": [ "exclude-all", "include-all" ], "--network": "value", "--priority": "value", "--rules": "value", "--source-ranges": "value", "--source-service-accounts": "value", "--source-tags": "value", "--target-service-accounts": "value", "--target-tags": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--allow": "value", "--description": "value", "--destination-ranges": "value", "--disabled": "bool", "--enable-logging": "bool", "--logging-metadata": [ "exclude-all", "include-all" ], "--priority": "value", "--rules": "value", "--source-ranges": "value", "--source-service-accounts": "value", "--source-tags": "value", "--target-service-accounts": "value", "--target-tags": "value" } } }, "flags": {} }, "forwarding-rules": { "commands": { "create": { "commands": {}, "flags": { "--address": "dynamic", "--address-region": "dynamic", "--allow-global-access": "bool", "--backend-service": "value", "--backend-service-region": "dynamic", "--description": "value", "--global": "bool", "--global-address": "bool", "--global-backend-service": "bool", "--global-target-http-proxy": "bool", "--global-target-https-proxy": "bool", "--ip-protocol": [ "AH", "ESP", "ICMP", "SCTP", "TCP", "UDP" ], "--ip-version": [ "IPV4", "IPV6" ], "--is-mirroring-collector": "bool", "--load-balancing-scheme": [ "EXTERNAL", "INTERNAL", "INTERNAL_MANAGED", "INTERNAL_SELF_MANAGED" ], "--network": "value", "--network-tier": "value", "--port-range": "value", "--ports": "value", "--region": "dynamic", "--service-label": "value", "--subnet": "value", "--subnet-region": "dynamic", "--target-http-proxy": "value", "--target-http-proxy-region": "dynamic", "--target-https-proxy": "value", "--target-https-proxy-region": "dynamic", "--target-instance": "value", "--target-instance-zone": "dynamic", "--target-pool": "value", "--target-pool-region": "dynamic", "--target-ssl-proxy": "value", "--target-tcp-proxy": "value", "--target-vpn-gateway": "value", "--target-vpn-gateway-region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--global": "bool", "--region": "dynamic" } }, "import": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic", "--source": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "set-target": { "commands": {}, "flags": { "--backend-service": "value", "--backend-service-region": "dynamic", "--global": "bool", "--global-backend-service": "bool", "--global-target-http-proxy": "bool", "--global-target-https-proxy": "bool", "--load-balancing-scheme": [ "EXTERNAL", "INTERNAL", "INTERNAL_MANAGED", "INTERNAL_SELF_MANAGED" ], "--network": "value", "--region": "dynamic", "--subnet": "value", "--subnet-region": "dynamic", "--target-http-proxy": "value", "--target-http-proxy-region": "dynamic", "--target-https-proxy": "value", "--target-https-proxy-region": "dynamic", "--target-instance": "value", "--target-instance-zone": "dynamic", "--target-pool": "value", "--target-pool-region": "dynamic", "--target-ssl-proxy": "value", "--target-tcp-proxy": "value", "--target-vpn-gateway": "value", "--target-vpn-gateway-region": "dynamic" } }, "update": { "commands": {}, "flags": { "--allow-global-access": "bool", "--clear-labels": "bool", "--global": "bool", "--region": "dynamic", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "health-checks": { "commands": { "create": { "commands": { "http": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--enable-logging": "bool", "--global": "bool", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request-path": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } }, "http2": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--enable-logging": "bool", "--global": "bool", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request-path": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } }, "https": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--enable-logging": "bool", "--global": "bool", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request-path": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } }, "ssl": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--enable-logging": "bool", "--global": "bool", "--healthy-threshold": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } }, "tcp": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--enable-logging": "bool", "--global": "bool", "--healthy-threshold": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } } }, "flags": {} }, "delete": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--protocol": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": { "http": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--enable-logging": "bool", "--global": "bool", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request-path": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } }, "http2": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--enable-logging": "bool", "--global": "bool", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request-path": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } }, "https": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--enable-logging": "bool", "--global": "bool", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request-path": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } }, "ssl": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--enable-logging": "bool", "--global": "bool", "--healthy-threshold": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } }, "tcp": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--enable-logging": "bool", "--global": "bool", "--healthy-threshold": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } } }, "flags": {} } }, "flags": {} }, "http-health-checks": { "commands": { "create": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--request-path": "value", "--timeout": "value", "--unhealthy-threshold": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--request-path": "value", "--timeout": "value", "--unhealthy-threshold": "value" } } }, "flags": {} }, "https-health-checks": { "commands": { "create": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--request-path": "value", "--timeout": "value", "--unhealthy-threshold": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--request-path": "value", "--timeout": "value", "--unhealthy-threshold": "value" } } }, "flags": {} }, "images": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "add-labels": { "commands": {}, "flags": { "--labels": "value" } }, "create": { "commands": {}, "flags": { "--csek-key-file": "value", "--description": "value", "--family": "value", "--force": "bool", "--force-create": "bool", "--guest-os-features": "value", "--kms-key": "dynamic", "--kms-keyring": "dynamic", "--kms-location": "dynamic", "--kms-project": "dynamic", "--labels": "value", "--licenses": "value", "--require-csek-key-create": "bool", "--source-disk": "dynamic", "--source-disk-zone": "dynamic", "--source-image": "value", "--source-image-family": "value", "--source-image-project": "value", "--source-snapshot": "dynamic", "--source-uri": "value", "--storage-location": "value" } }, "delete": { "commands": {}, "flags": {} }, "deprecate": { "commands": {}, "flags": { "--delete-in": "value", "--delete-on": "value", "--deprecate-in": "value", "--deprecate-on": "value", "--obsolete-in": "value", "--obsolete-on": "value", "--replacement": "dynamic", "--state": [ "ACTIVE", "DELETED", "DEPRECATED", "OBSOLETE" ] } }, "describe": { "commands": {}, "flags": {} }, "describe-from-family": { "commands": {}, "flags": {} }, "export": { "commands": {}, "flags": { "--async": "bool", "--destination-uri": "value", "--export-format": "value", "--image": "value", "--image-family": "value", "--image-project": "value", "--log-location": "value", "--network": "value", "--subnet": "value", "--timeout": "value", "--zone": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "import": { "commands": {}, "flags": { "--async": "bool", "--data-disk": "bool", "--description": "value", "--family": "value", "--guest-environment": "bool", "--log-location": "value", "--network": "value", "--os": [ "centos-6", "centos-7", "centos-8", "debian-8", "debian-9", "opensuse-15", "rhel-6", "rhel-6-byol", "rhel-7", "rhel-7-byol", "rhel-8", "rhel-8-byol", "sles-12-byol", "sles-15-byol", "ubuntu-1404", "ubuntu-1604", "ubuntu-1804", "windows-10-x64-byol", "windows-10-x86-byol", "windows-2008r2", "windows-2008r2-byol", "windows-2012", "windows-2012-byol", "windows-2012r2", "windows-2012r2-byol", "windows-2016", "windows-2016-byol", "windows-2019", "windows-2019-byol", "windows-7-x64-byol", "windows-7-x86-byol", "windows-8-x64-byol", "windows-8-x86-byol" ], "--source-file": "value", "--source-image": "dynamic", "--storage-location": "value", "--subnet": "value", "--timeout": "value", "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--preview-images": "bool", "--regexp": "value", "--show-deprecated": "bool", "--sort-by": "value", "--standard-images": "bool", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "remove-labels": { "commands": {}, "flags": { "--all": "bool", "--labels": "value" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "instance-groups": { "commands": { "describe": { "commands": {}, "flags": { "--region": "dynamic", "--zone": "dynamic" } }, "get-named-ports": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool", "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool", "--zones": "value" } }, "list-instances": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool", "--zone": "dynamic" } }, "managed": { "commands": { "abandon-instances": { "commands": {}, "flags": { "--instances": "value", "--region": "dynamic", "--zone": "dynamic" } }, "create": { "commands": {}, "flags": { "--base-instance-name": "value", "--description": "value", "--health-check": "dynamic", "--http-health-check": "value", "--https-health-check": "value", "--initial-delay": "value", "--instance-redistribution-type": [ "NONE", "PROACTIVE" ], "--region": "dynamic", "--size": "value", "--stateful-disk": "value", "--target-pool": "value", "--template": "value", "--zone": "dynamic", "--zones": "dynamic" } }, "create-instance": { "commands": {}, "flags": { "--instance": "value", "--region": "dynamic", "--stateful-disk": "value", "--stateful-metadata": "value", "--zone": "dynamic" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic", "--zone": "dynamic" } }, "delete-instances": { "commands": {}, "flags": { "--instances": "value", "--region": "dynamic", "--zone": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic", "--zone": "dynamic" } }, "export-autoscaling": { "commands": {}, "flags": { "--autoscaling-file": "value", "--region": "dynamic", "--zone": "dynamic" } }, "get-named-ports": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool", "--zone": "dynamic" } }, "instance-configs": { "commands": { "create": { "commands": {}, "flags": { "--instance": "value", "--region": "dynamic", "--stateful-disk": "value", "--stateful-metadata": "value", "--update-instance": "bool", "--zone": "dynamic" } }, "delete": { "commands": {}, "flags": { "--instances": "value", "--region": "dynamic", "--update-instance": "bool", "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--zone": "dynamic" } }, "update": { "commands": {}, "flags": { "--instance": "value", "--region": "dynamic", "--remove-stateful-disks": "value", "--remove-stateful-metadata": "value", "--stateful-disk": "value", "--stateful-metadata": "value", "--update-instance": "bool", "--update-stateful-disk": "value", "--update-stateful-metadata": "value", "--zone": "dynamic" } } }, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool", "--zones": "value" } }, "list-errors": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool", "--zone": "dynamic" } }, "list-instances": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool", "--zone": "dynamic" } }, "recreate-instances": { "commands": {}, "flags": { "--instances": "value", "--region": "dynamic", "--zone": "dynamic" } }, "resize": { "commands": {}, "flags": { "--creation-retries": "bool", "--region": "dynamic", "--size": "value", "--zone": "dynamic" } }, "rolling-action": { "commands": { "replace": { "commands": {}, "flags": { "--max-surge": "value", "--max-unavailable": "value", "--min-ready": "value", "--region": "dynamic", "--replacement-method": [ "recreate", "substitute" ], "--zone": "dynamic" } }, "restart": { "commands": {}, "flags": { "--max-unavailable": "value", "--min-ready": "value", "--region": "dynamic", "--zone": "dynamic" } }, "start-update": { "commands": {}, "flags": { "--canary-version": "value", "--force": "bool", "--max-surge": "value", "--max-unavailable": "value", "--min-ready": "value", "--region": "dynamic", "--replacement-method": [ "recreate", "substitute" ], "--type": [ "opportunistic", "proactive" ], "--zone": "dynamic" } }, "stop-proactive-update": { "commands": {}, "flags": { "--region": "dynamic", "--zone": "dynamic" } } }, "flags": {} }, "set-autohealing": { "commands": {}, "flags": { "--health-check": "dynamic", "--http-health-check": "value", "--https-health-check": "value", "--initial-delay": "value", "--region": "dynamic", "--zone": "dynamic" } }, "set-autoscaling": { "commands": {}, "flags": { "--autoscaling-file": "value", "--cool-down-period": "value", "--custom-metric-utilization": "value", "--description": "value", "--max-num-replicas": "value", "--min-num-replicas": "value", "--mode": [ "off", "on", "only-up" ], "--region": "dynamic", "--remove-stackdriver-metric": "value", "--scale-based-on-cpu": "bool", "--scale-based-on-load-balancing": "bool", "--stackdriver-metric-filter": "value", "--stackdriver-metric-single-instance-assignment": "value", "--stackdriver-metric-utilization-target": "value", "--stackdriver-metric-utilization-target-type": [ "delta-per-minute", "delta-per-second", "gauge" ], "--target-cpu-utilization": "value", "--target-load-balancing-utilization": "value", "--update-stackdriver-metric": "value", "--zone": "dynamic" } }, "set-instance-template": { "commands": {}, "flags": { "--region": "dynamic", "--template": "value", "--zone": "dynamic" } }, "set-named-ports": { "commands": {}, "flags": { "--named-ports": "value", "--region": "dynamic", "--zone": "dynamic" } }, "set-target-pools": { "commands": {}, "flags": { "--region": "dynamic", "--target-pools": "value", "--zone": "dynamic" } }, "stop-autoscaling": { "commands": {}, "flags": { "--region": "dynamic", "--zone": "dynamic" } }, "update": { "commands": {}, "flags": { "--clear-autohealing": "bool", "--health-check": "dynamic", "--http-health-check": "value", "--https-health-check": "value", "--initial-delay": "value", "--instance-redistribution-type": [ "NONE", "PROACTIVE" ], "--region": "dynamic", "--remove-stateful-disks": "value", "--stateful-disk": "value", "--update-stateful-disk": "value", "--zone": "dynamic" } }, "update-autoscaling": { "commands": {}, "flags": { "--mode": [ "off", "on", "only-up" ], "--region": "dynamic", "--zone": "dynamic" } }, "update-instances": { "commands": {}, "flags": { "--instances": "value", "--minimal-action": [ "none", "refresh", "replace", "restart" ], "--most-disruptive-allowed-action": [ "none", "refresh", "replace", "restart" ], "--region": "dynamic", "--zone": "dynamic" } }, "wait-until": { "commands": {}, "flags": { "--region": "dynamic", "--stable": "bool", "--timeout": "value", "--version-target-reached": "bool", "--zone": "dynamic" } }, "wait-until-stable": { "commands": {}, "flags": { "--region": "dynamic", "--timeout": "value", "--zone": "dynamic" } } }, "flags": {} }, "set-named-ports": { "commands": {}, "flags": { "--named-ports": "value", "--region": "dynamic", "--zone": "dynamic" } }, "unmanaged": { "commands": { "add-instances": { "commands": {}, "flags": { "--instances": "value", "--zone": "dynamic" } }, "create": { "commands": {}, "flags": { "--description": "value", "--zone": "dynamic" } }, "delete": { "commands": {}, "flags": { "--zone": "dynamic" } }, "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "get-named-ports": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool", "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool", "--zones": "dynamic" } }, "list-instances": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool", "--zone": "dynamic" } }, "remove-instances": { "commands": {}, "flags": { "--instances": "value", "--zone": "dynamic" } }, "set-named-ports": { "commands": {}, "flags": { "--named-ports": "value", "--zone": "dynamic" } } }, "flags": {} } }, "flags": {} }, "instance-templates": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--accelerator": "value", "--address": "value", "--boot-disk-auto-delete": "bool", "--boot-disk-device-name": "value", "--boot-disk-kms-key": "dynamic", "--boot-disk-kms-keyring": "dynamic", "--boot-disk-kms-location": "dynamic", "--boot-disk-kms-project": "dynamic", "--boot-disk-size": "value", "--boot-disk-type": "value", "--can-ip-forward": "bool", "--configure-disk": "value", "--create-disk": "value", "--custom-cpu": "value", "--custom-extensions": "bool", "--custom-memory": "value", "--custom-vm-type": "value", "--description": "value", "--disk": "value", "--image": "value", "--image-family": "value", "--image-project": "value", "--labels": "value", "--local-ssd": "value", "--machine-type": "dynamic", "--maintenance-policy": [ "MIGRATE", "TERMINATE" ], "--metadata": "value", "--metadata-from-file": "value", "--min-cpu-platform": "value", "--min-node-cpu": "value", "--network": "value", "--network-interface": "value", "--network-tier": "value", "--no-address": "bool", "--no-scopes": "bool", "--no-service-account": "bool", "--node": "value", "--node-affinity-file": "value", "--node-group": "value", "--preemptible": "bool", "--private-network-ip": "value", "--region": "dynamic", "--reservation": "value", "--reservation-affinity": [ "any", "none", "specific" ], "--restart-on-failure": "bool", "--scopes": "value", "--service-account": "value", "--shielded-integrity-monitoring": "bool", "--shielded-secure-boot": "bool", "--shielded-vtpm": "bool", "--source-instance": "dynamic", "--source-instance-zone": "dynamic", "--subnet": "value", "--tags": "value" } }, "create-with-container": { "commands": {}, "flags": { "--address": "value", "--boot-disk-auto-delete": "bool", "--boot-disk-device-name": "value", "--boot-disk-size": "value", "--boot-disk-type": "value", "--can-ip-forward": "bool", "--container-arg": "value", "--container-command": "value", "--container-env": "value", "--container-env-file": "value", "--container-image": "value", "--container-mount-disk": "value", "--container-mount-host-path": "value", "--container-mount-tmpfs": "value", "--container-privileged": "bool", "--container-restart-policy": [ "always", "never", "on-failure" ], "--container-stdin": "bool", "--container-tty": "bool", "--create-disk": "value", "--custom-cpu": "value", "--custom-extensions": "bool", "--custom-memory": "value", "--custom-vm-type": "value", "--description": "value", "--disk": "value", "--image": "value", "--image-family": "value", "--image-project": "value", "--labels": "value", "--local-ssd": "value", "--machine-type": "dynamic", "--maintenance-policy": [ "MIGRATE", "TERMINATE" ], "--metadata": "value", "--metadata-from-file": "value", "--min-cpu-platform": "value", "--network": "value", "--network-interface": "value", "--network-tier": "value", "--no-address": "bool", "--no-scopes": "bool", "--no-service-account": "bool", "--preemptible": "bool", "--private-network-ip": "value", "--region": "dynamic", "--restart-on-failure": "bool", "--scopes": "value", "--service-account": "value", "--subnet": "value", "--tags": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} } }, "flags": {} }, "instances": { "commands": { "add-access-config": { "commands": {}, "flags": { "--access-config-name": "value", "--address": "value", "--network-interface": "value", "--network-tier": "value", "--no-public-ptr": "bool", "--no-public-ptr-domain": "bool", "--public-ptr": "bool", "--public-ptr-domain": "value", "--zone": "dynamic" } }, "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic", "--zone": "value" } }, "add-labels": { "commands": {}, "flags": { "--labels": "value", "--zone": "dynamic" } }, "add-metadata": { "commands": {}, "flags": { "--metadata": "value", "--metadata-from-file": "value", "--zone": "dynamic" } }, "add-tags": { "commands": {}, "flags": { "--tags": "value", "--zone": "dynamic" } }, "attach-disk": { "commands": {}, "flags": { "--boot": "bool", "--csek-key-file": "value", "--device-name": "value", "--disk": "value", "--disk-scope": [ "regional", "zonal" ], "--force-attach": "bool", "--mode": [ "ro", "rw" ], "--zone": "dynamic" } }, "create": { "commands": {}, "flags": { "--accelerator": "value", "--address": "value", "--async": "bool", "--boot-disk-auto-delete": "bool", "--boot-disk-device-name": "value", "--boot-disk-kms-key": "dynamic", "--boot-disk-kms-keyring": "dynamic", "--boot-disk-kms-location": "dynamic", "--boot-disk-kms-project": "dynamic", "--boot-disk-size": "value", "--boot-disk-type": "value", "--can-ip-forward": "bool", "--create-disk": "value", "--csek-key-file": "value", "--custom-cpu": "value", "--custom-extensions": "bool", "--custom-memory": "value", "--custom-vm-type": "value", "--deletion-protection": "bool", "--description": "value", "--disk": "value", "--enable-display-device": "bool", "--erase-windows-vss-signature": "bool", "--hostname": "value", "--image": "value", "--image-family": "value", "--image-project": "value", "--labels": "value", "--local-ssd": "value", "--machine-type": "dynamic", "--maintenance-policy": [ "MIGRATE", "TERMINATE" ], "--metadata": "value", "--metadata-from-file": "value", "--min-cpu-platform": "value", "--min-node-cpu": "value", "--network": "value", "--network-interface": "value", "--network-tier": "value", "--no-address": "bool", "--no-public-ptr": "bool", "--no-public-ptr-domain": "bool", "--no-scopes": "bool", "--no-service-account": "bool", "--node": "value", "--node-affinity-file": "value", "--node-group": "value", "--preemptible": "bool", "--private-network-ip": "value", "--public-ptr": "bool", "--public-ptr-domain": "value", "--require-csek-key-create": "bool", "--reservation": "value", "--reservation-affinity": [ "any", "none", "specific" ], "--resource-policies": "value", "--restart-on-failure": "bool", "--scopes": "value", "--service-account": "value", "--shielded-integrity-monitoring": "bool", "--shielded-secure-boot": "bool", "--shielded-vtpm": "bool", "--source-instance-template": "dynamic", "--source-machine-image": "dynamic", "--source-machine-image-csek-key-file": "value", "--source-snapshot": "value", "--subnet": "value", "--tags": "value", "--zone": "dynamic" } }, "create-with-container": { "commands": {}, "flags": { "--accelerator": "value", "--address": "value", "--boot-disk-auto-delete": "bool", "--boot-disk-device-name": "value", "--boot-disk-size": "value", "--boot-disk-type": "value", "--can-ip-forward": "bool", "--container-arg": "value", "--container-command": "value", "--container-env": "value", "--container-env-file": "value", "--container-image": "value", "--container-mount-disk": "value", "--container-mount-host-path": "value", "--container-mount-tmpfs": "value", "--container-privileged": "bool", "--container-restart-policy": [ "always", "never", "on-failure" ], "--container-stdin": "bool", "--container-tty": "bool", "--create-disk": "value", "--custom-cpu": "value", "--custom-extensions": "bool", "--custom-memory": "value", "--custom-vm-type": "value", "--description": "value", "--disk": "value", "--image": "value", "--image-family": "value", "--image-project": "value", "--labels": "value", "--local-ssd": "value", "--machine-type": "dynamic", "--maintenance-policy": [ "MIGRATE", "TERMINATE" ], "--metadata": "value", "--metadata-from-file": "value", "--min-cpu-platform": "value", "--network": "value", "--network-interface": "value", "--network-tier": "value", "--no-address": "bool", "--no-public-ptr": "bool", "--no-public-ptr-domain": "bool", "--no-scopes": "bool", "--no-service-account": "bool", "--preemptible": "bool", "--private-network-ip": "value", "--public-ptr": "bool", "--public-ptr-domain": "value", "--restart-on-failure": "bool", "--scopes": "value", "--service-account": "value", "--source-instance-template": "dynamic", "--subnet": "value", "--tags": "value", "--zone": "dynamic" } }, "delete": { "commands": {}, "flags": { "--delete-disks": [ "all", "boot", "data" ], "--keep-disks": [ "all", "boot", "data" ], "--zone": "dynamic" } }, "delete-access-config": { "commands": {}, "flags": { "--access-config-name": "value", "--network-interface": "value", "--zone": "dynamic" } }, "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "detach-disk": { "commands": {}, "flags": { "--device-name": "value", "--disk": "value", "--disk-scope": [ "regional", "zonal" ], "--zone": "dynamic" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--zone": "value" } }, "get-guest-attributes": { "commands": {}, "flags": { "--query-path": "value", "--zone": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--zone": "value" } }, "get-serial-port-output": { "commands": {}, "flags": { "--port": "value", "--start": "value", "--zone": "dynamic" } }, "get-shielded-identity": { "commands": {}, "flags": { "--zone": "dynamic" } }, "import": { "commands": {}, "flags": { "--async": "bool", "--can-ip-forward": "bool", "--custom-cpu": "value", "--custom-extensions": "bool", "--custom-memory": "value", "--custom-vm-type": "value", "--deletion-protection": "bool", "--description": "value", "--guest-environment": "bool", "--hostname": "value", "--labels": "value", "--machine-type": "dynamic", "--network": "value", "--network-tier": "value", "--node": "value", "--node-affinity-file": "value", "--node-group": "value", "--os": [ "centos-6", "centos-7", "centos-8", "debian-8", "debian-9", "opensuse-15", "rhel-6", "rhel-6-byol", "rhel-7", "rhel-7-byol", "rhel-8", "rhel-8-byol", "sles-12-byol", "sles-15-byol", "ubuntu-1404", "ubuntu-1604", "ubuntu-1804", "windows-10-x64-byol", "windows-10-x86-byol", "windows-2008r2", "windows-2008r2-byol", "windows-2012", "windows-2012-byol", "windows-2012r2", "windows-2012r2-byol", "windows-2016", "windows-2016-byol", "windows-2019", "windows-2019-byol", "windows-7-x64-byol", "windows-7-x86-byol", "windows-8-x64-byol", "windows-8-x86-byol" ], "--private-network-ip": "value", "--restart-on-failure": "bool", "--source-uri": "value", "--subnet": "value", "--tags": "value", "--timeout": "value", "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool", "--zones": "dynamic" } }, "move": { "commands": {}, "flags": { "--async": "bool", "--destination-zone": "dynamic", "--zone": "dynamic" } }, "network-interfaces": { "commands": { "get-effective-firewalls": { "commands": {}, "flags": { "--network-interface": "value", "--zone": "dynamic" } }, "update": { "commands": {}, "flags": { "--aliases": "value", "--network-interface": "value", "--zone": "dynamic" } } }, "flags": {} }, "os-inventory": { "commands": { "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "list-instances": { "commands": {}, "flags": { "--filter": "value", "--inventory-filter": "value", "--kernel-version": "value", "--limit": "value", "--os-shortname": "value", "--os-version": "value", "--package-name": "value", "--package-version": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic", "--zone": "value" } }, "remove-labels": { "commands": {}, "flags": { "--all": "bool", "--labels": "value", "--zone": "dynamic" } }, "remove-metadata": { "commands": {}, "flags": { "--all": "bool", "--keys": "value", "--zone": "dynamic" } }, "remove-tags": { "commands": {}, "flags": { "--all": "bool", "--tags": "value", "--zone": "dynamic" } }, "reset": { "commands": {}, "flags": { "--zone": "dynamic" } }, "set-disk-auto-delete": { "commands": {}, "flags": { "--auto-delete": "bool", "--device-name": "value", "--disk": "value", "--zone": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--zone": "value" } }, "set-machine-type": { "commands": {}, "flags": { "--custom-cpu": "value", "--custom-extensions": "bool", "--custom-memory": "value", "--custom-vm-type": "value", "--machine-type": "dynamic", "--zone": "dynamic" } }, "set-scheduling": { "commands": {}, "flags": { "--clear-min-node-cpu": "bool", "--clear-node-affinities": "bool", "--maintenance-policy": [ "MIGRATE", "TERMINATE" ], "--min-node-cpu": "value", "--node": "value", "--node-affinity-file": "value", "--node-group": "value", "--restart-on-failure": "bool", "--zone": "dynamic" } }, "set-scopes": { "commands": {}, "flags": { "--no-scopes": "bool", "--no-service-account": "bool", "--scopes": "value", "--service-account": "value", "--zone": "dynamic" } }, "simulate-maintenance-event": { "commands": {}, "flags": { "--async": "bool", "--zone": "dynamic" } }, "start": { "commands": {}, "flags": { "--async": "bool", "--csek-key-file": "value", "--zone": "dynamic" } }, "stop": { "commands": {}, "flags": { "--async": "bool", "--zone": "dynamic" } }, "tail-serial-port-output": { "commands": {}, "flags": { "--port": "value", "--zone": "dynamic" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--deletion-protection": "bool", "--enable-display-device": "bool", "--min-cpu-platform": "value", "--remove-labels": "value", "--shielded-integrity-monitoring": "bool", "--shielded-learn-integrity-policy": "bool", "--shielded-secure-boot": "bool", "--shielded-vtpm": "bool", "--update-labels": "value", "--zone": "dynamic" } }, "update-access-config": { "commands": {}, "flags": { "--network-interface": "value", "--no-public-ptr": "bool", "--no-public-ptr-domain": "bool", "--public-ptr": "bool", "--public-ptr-domain": "value", "--zone": "dynamic" } }, "update-container": { "commands": {}, "flags": { "--clear-container-args": "bool", "--clear-container-command": "bool", "--container-arg": "value", "--container-command": "value", "--container-env": "value", "--container-env-file": "value", "--container-image": "value", "--container-mount-disk": "value", "--container-mount-host-path": "value", "--container-mount-tmpfs": "value", "--container-privileged": "bool", "--container-restart-policy": [ "always", "never", "on-failure" ], "--container-stdin": "bool", "--container-tty": "bool", "--remove-container-env": "value", "--remove-container-mounts": "value", "--zone": "dynamic" } }, "update-from-file": { "commands": {}, "flags": { "--minimal-action": "value", "--most-disruptive-allowed-action": "value", "--source": "value", "--zone": "dynamic" } } }, "flags": {} }, "interconnects": { "commands": { "attachments": { "commands": { "dedicated": { "commands": { "create": { "commands": {}, "flags": { "--bandwidth": [ "100m", "10g", "1g", "200m", "20g", "2g", "300m", "400m", "500m", "50g", "50m", "5g" ], "--candidate-subnets": "value", "--description": "value", "--enable-admin": "bool", "--interconnect": "dynamic", "--region": "dynamic", "--router": "dynamic", "--vlan": "value" } }, "update": { "commands": {}, "flags": { "--bandwidth": [ "100m", "10g", "1g", "200m", "20g", "2g", "300m", "400m", "500m", "50g", "50m", "5g" ], "--clear-labels": "bool", "--description": "value", "--enable-admin": "bool", "--region": "dynamic", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "partner": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--edge-availability-domain": [ "any", "availability-domain-1", "availability-domain-2" ], "--enable-admin": "bool", "--region": "dynamic", "--router": "dynamic" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--description": "value", "--enable-admin": "bool", "--region": "dynamic", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} } }, "flags": {} }, "create": { "commands": {}, "flags": { "--admin-enabled": "bool", "--customer-name": "value", "--description": "value", "--interconnect-type": [ "DEDICATED", "IT_PRIVATE", "PARTNER" ], "--link-type": [ "LINK_TYPE_ETHERNET_100G_LR", "LINK_TYPE_ETHERNET_10G_LR" ], "--location": "dynamic", "--noc-contact-email": "value", "--requested-link-count": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-diagnostics": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "locations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--admin-enabled": "bool", "--clear-labels": "bool", "--description": "value", "--noc-contact-email": "value", "--remove-labels": "value", "--requested-link-count": "value", "--update-labels": "value" } } }, "flags": {} }, "machine-images": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--csek-key-file": "value", "--description": "value", "--guest-flush": "bool", "--kms-key": "dynamic", "--kms-keyring": "dynamic", "--kms-location": "dynamic", "--kms-project": "dynamic", "--require-csek-key-create": "bool", "--source-disk-csek-key": "value", "--source-instance": "dynamic", "--source-instance-zone": "dynamic", "--storage-location": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "import": { "commands": {}, "flags": { "--async": "bool", "--can-ip-forward": "bool", "--custom-cpu": "value", "--custom-extensions": "bool", "--custom-memory": "value", "--custom-vm-type": "value", "--description": "value", "--guest-environment": "bool", "--guest-flush": "bool", "--labels": "value", "--machine-type": "dynamic", "--network": "value", "--network-tier": "value", "--os": [ "centos-6", "centos-7", "centos-8", "debian-8", "debian-9", "opensuse-15", "rhel-6", "rhel-6-byol", "rhel-7", "rhel-7-byol", "rhel-8", "rhel-8-byol", "sles-12-byol", "sles-15-byol", "ubuntu-1404", "ubuntu-1604", "ubuntu-1804", "windows-10-x64-byol", "windows-10-x86-byol", "windows-2008r2", "windows-2008r2-byol", "windows-2012", "windows-2012-byol", "windows-2012r2", "windows-2012r2-byol", "windows-2016", "windows-2016-byol", "windows-2019", "windows-2019-byol", "windows-7-x64-byol", "windows-7-x86-byol", "windows-8-x64-byol", "windows-8-x86-byol" ], "--restart-on-failure": "bool", "--source-uri": "value", "--storage-location": "value", "--subnet": "value", "--tags": "value", "--timeout": "value", "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} } }, "flags": {} }, "machine-types": { "commands": { "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool", "--zones": "dynamic" } } }, "flags": {} }, "network-endpoint-groups": { "commands": { "create": { "commands": {}, "flags": { "--default-port": "value", "--global": "bool", "--network": "value", "--network-endpoint-type": [ "gce-vm-ip-port", "internet-fqdn-port", "internet-ip-port" ], "--subnet": "value", "--zone": "dynamic" } }, "delete": { "commands": {}, "flags": { "--global": "bool", "--zone": "dynamic" } }, "describe": { "commands": {}, "flags": { "--global": "bool", "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool", "--zones": "value" } }, "list-network-endpoints": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--zone": "dynamic" } }, "update": { "commands": {}, "flags": { "--add-endpoint": "value", "--global": "bool", "--remove-endpoint": "value", "--zone": "dynamic" } } }, "flags": {} }, "networks": { "commands": { "create": { "commands": {}, "flags": { "--bgp-routing-mode": [ "global", "regional" ], "--description": "value", "--range": "value", "--subnet-mode": [ "auto", "custom", "legacy" ] } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-effective-firewalls": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } }, "peerings": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--auto-create-routes": "bool", "--export-custom-routes": "bool", "--import-custom-routes": "bool", "--network": "value", "--peer-network": "value", "--peer-project": "value" } }, "delete": { "commands": {}, "flags": { "--network": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--network": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "list-routes": { "commands": {}, "flags": { "--direction": [ "INCOMING", "OUTGOING" ], "--filter": "value", "--limit": "value", "--network": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--export-custom-routes": "bool", "--import-custom-routes": "bool", "--network": "value" } } }, "flags": {} }, "subnets": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--region": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--description": "value", "--enable-flow-logs": "bool", "--enable-private-ip-google-access": "bool", "--logging-aggregation-interval": [ "interval-1-min", "interval-10-min", "interval-15-min", "interval-30-sec", "interval-5-min", "interval-5-sec" ], "--logging-flow-sampling": "value", "--logging-metadata": [ "exclude-all", "include-all" ], "--network": "dynamic", "--private-ipv6-google-access-type": [ "disable", "enable-bidirectional-access", "enable-outbound-vm-access" ], "--purpose": [ "INTERNAL_HTTPS_LOAD_BALANCER", "PRIVATE" ], "--range": "value", "--region": "dynamic", "--role": [ "ACTIVE", "BACKUP" ], "--secondary-range": "value" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "expand-ip-range": { "commands": {}, "flags": { "--prefix-length": "value", "--region": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--network": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "list-usable": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--region": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "value" } }, "update": { "commands": {}, "flags": { "--add-secondary-ranges": "value", "--drain-timeout": "value", "--enable-flow-logs": "bool", "--enable-private-ip-google-access": "bool", "--logging-aggregation-interval": [ "interval-1-min", "interval-10-min", "interval-15-min", "interval-30-sec", "interval-5-min", "interval-5-sec" ], "--logging-flow-sampling": "value", "--logging-metadata": [ "exclude-all", "include-all" ], "--private-ipv6-google-access-type": [ "disable", "enable-bidirectional-access", "enable-outbound-vm-access" ], "--region": "dynamic", "--remove-secondary-ranges": "value", "--role": [ "ACTIVE" ] } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--async": "bool", "--bgp-routing-mode": [ "global", "regional" ], "--switch-to-custom-subnet-mode": "bool" } }, "vpc-access": { "commands": { "connectors": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--max-throughput": "value", "--min-throughput": "value", "--network": "value", "--range": "value", "--region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "locations": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic", "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool", "--zones": "value" } } }, "flags": {} }, "org-security-policies": { "commands": { "associations": { "commands": { "create": { "commands": {}, "flags": { "--folder": "value", "--name": "value", "--organization": "value", "--replace-association-on-target": "bool", "--security-policy": "value" } }, "delete": { "commands": {}, "flags": { "--organization": "value", "--security-policy": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--folder": "value", "--limit": "value", "--organization": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "copy-rules": { "commands": {}, "flags": { "--organization": "value", "--source-security-policy": "value" } }, "create": { "commands": {}, "flags": { "--description": "value", "--display-name": "value", "--folder": "value", "--organization": "value" } }, "delete": { "commands": {}, "flags": { "--organization": "value" } }, "describe": { "commands": {}, "flags": { "--organization": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--folder": "value", "--limit": "value", "--organization": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } }, "list-rules": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--organization": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } }, "move": { "commands": {}, "flags": { "--folder": "value", "--organization": "value" } }, "rules": { "commands": { "create": { "commands": {}, "flags": { "--action": [ "allow", "deny", "goto_next" ], "--description": "value", "--dest-ip-ranges": "value", "--direction": [ "EGRESS", "INGRESS" ], "--enable-logging": "bool", "--layer4-configs": "value", "--organization": "value", "--security-policy": "value", "--src-ip-ranges": "value", "--target-resources": "value", "--target-service-accounts": "value" } }, "delete": { "commands": {}, "flags": { "--organization": "value", "--security-policy": "value" } }, "describe": { "commands": {}, "flags": { "--organization": "value", "--security-policy": "value" } }, "update": { "commands": {}, "flags": { "--action": [ "allow", "deny", "goto_next" ], "--description": "value", "--dest-ip-ranges": "value", "--direction": [ "EGRESS", "INGRESS" ], "--enable-logging": "bool", "--layer4-configs": "value", "--new-priority": "value", "--organization": "value", "--security-policy": "value", "--src-ip-ranges": "value", "--target-resources": "value", "--target-service-accounts": "value" } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--description": "value", "--organization": "value" } } }, "flags": {} }, "os-config": { "commands": { "guest-policies": { "commands": { "create": { "commands": {}, "flags": { "--file": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "lookup": { "commands": {}, "flags": { "--zone": "dynamic" } }, "update": { "commands": {}, "flags": { "--file": "value" } } }, "flags": {} }, "patch-deployments": { "commands": { "create": { "commands": {}, "flags": { "--file": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "patch-jobs": { "commands": { "cancel": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "execute": { "commands": {}, "flags": { "--apt-dist": "bool", "--apt-excludes": "value", "--apt-exclusive-packages": "value", "--async": "bool", "--description": "value", "--display-name": "value", "--dry-run": "bool", "--duration": "value", "--instance-filter-all": "bool", "--instance-filter-group-labels": "value", "--instance-filter-name-prefixes": "value", "--instance-filter-names": "value", "--instance-filter-zones": "value", "--post-patch-linux-executable": "value", "--post-patch-linux-success-codes": "value", "--post-patch-windows-executable": "value", "--post-patch-windows-success-codes": "value", "--pre-patch-linux-executable": "value", "--pre-patch-linux-success-codes": "value", "--pre-patch-windows-executable": "value", "--pre-patch-windows-success-codes": "value", "--reboot-config": [ "always", "default", "never" ], "--windows-classifications": "value", "--windows-excludes": "value", "--windows-exclusive-patches": "value", "--yum-excludes": "value", "--yum-exclusive-packages": "value", "--yum-minimal": "bool", "--yum-security": "bool", "--zypper-categories": "value", "--zypper-exclusive-patches": "value", "--zypper-severities": "value", "--zypper-with-optional": "bool", "--zypper-with-update": "bool" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "list-instance-details": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} } }, "flags": {} }, "os-login": { "commands": { "describe-profile": { "commands": {}, "flags": {} }, "remove-profile": { "commands": {}, "flags": {} }, "ssh-keys": { "commands": { "add": { "commands": {}, "flags": { "--key": "value", "--key-file": "value", "--ttl": "value" } }, "describe": { "commands": {}, "flags": { "--key": "value", "--key-file": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "remove": { "commands": {}, "flags": { "--key": "value", "--key-file": "value" } }, "update": { "commands": {}, "flags": { "--key": "value", "--key-file": "value", "--ttl": "value" } } }, "flags": {} } }, "flags": {} }, "packet-mirrorings": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--collector-ilb": "value", "--description": "value", "--enable": "bool", "--filter-cidr-ranges": "value", "--filter-protocols": "value", "--mirrored-instances": "value", "--mirrored-subnets": "value", "--mirrored-tags": "value", "--network": "value", "--region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--add-filter-cidr-ranges": "value", "--add-filter-protocols": "value", "--add-mirrored-instances": "value", "--add-mirrored-subnets": "value", "--add-mirrored-tags": "value", "--async": "bool", "--clear-filter-cidr-ranges": "bool", "--clear-filter-protocols": "bool", "--clear-mirrored-instances": "bool", "--clear-mirrored-subnets": "bool", "--clear-mirrored-tags": "bool", "--collector-ilb": "value", "--description": "value", "--enable": "bool", "--region": "dynamic", "--remove-filter-cidr-ranges": "value", "--remove-filter-protocols": "value", "--remove-mirrored-instances": "value", "--remove-mirrored-subnets": "value", "--remove-mirrored-tags": "value", "--set-filter-cidr-ranges": "value", "--set-filter-protocols": "value", "--set-mirrored-instances": "value", "--set-mirrored-subnets": "value", "--set-mirrored-tags": "value" } } }, "flags": {} }, "project-info": { "commands": { "add-metadata": { "commands": {}, "flags": { "--metadata": "value", "--metadata-from-file": "value" } }, "describe": { "commands": {}, "flags": {} }, "remove-metadata": { "commands": {}, "flags": { "--all": "bool", "--keys": "value" } }, "set-usage-bucket": { "commands": {}, "flags": { "--bucket": "value", "--no-bucket": "bool", "--prefix": "value" } }, "update": { "commands": {}, "flags": { "--default-network-tier": [ "PREMIUM", "STANDARD" ] } } }, "flags": {} }, "regions": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "reservations": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic", "--zone": "value" } }, "create": { "commands": {}, "flags": { "--accelerator": "value", "--description": "value", "--local-ssd": "value", "--machine-type": "value", "--min-cpu-platform": "value", "--require-specific-reservation": "bool", "--vm-count": "value", "--zone": "dynamic" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--zone": "value" } }, "describe": { "commands": {}, "flags": { "--zone": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic", "--zone": "value" } }, "set-iam-policy": { "commands": {}, "flags": { "--zone": "value" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--vm-count": "value", "--zone": "value" } } }, "flags": {} }, "reset-windows-password": { "commands": {}, "flags": { "--user": "value", "--zone": "dynamic" } }, "resource-policies": { "commands": { "create": { "commands": { "group-placement": { "commands": {}, "flags": { "--availability-domain-count": "value", "--collocation": [ "collocated", "unspecified-collocation" ], "--description": "value", "--region": "dynamic", "--vm-count": "value" } }, "snapshot-schedule": { "commands": {}, "flags": { "--daily-schedule": "bool", "--description": "value", "--guest-flush": "bool", "--hourly-schedule": "value", "--max-retention-days": "value", "--on-source-disk-delete": [ "apply-retention-policy", "keep-auto-snapshots" ], "--region": "dynamic", "--snapshot-labels": "value", "--start-time": "value", "--storage-location": "value", "--weekly-schedule": [ "friday", "monday", "saturday", "sunday", "thursday", "tuesday", "wednesday" ], "--weekly-schedule-from-file": "value" } } }, "flags": {} }, "create-snapshot-schedule": { "commands": {}, "flags": { "--daily-schedule": "bool", "--description": "value", "--guest-flush": "bool", "--hourly-schedule": "value", "--max-retention-days": "value", "--on-source-disk-delete": [ "apply-retention-policy", "keep-auto-snapshots" ], "--region": "dynamic", "--snapshot-labels": "value", "--start-time": "value", "--storage-location": "value", "--weekly-schedule": [ "friday", "monday", "saturday", "sunday", "thursday", "tuesday", "wednesday" ], "--weekly-schedule-from-file": "value" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "value" } } }, "flags": {} }, "routers": { "commands": { "add-bgp-peer": { "commands": {}, "flags": { "--advertised-route-priority": "value", "--advertisement-mode": [ "CUSTOM", "DEFAULT" ], "--async": "bool", "--interface": "value", "--peer-asn": "value", "--peer-ip-address": "value", "--peer-name": "value", "--region": "dynamic", "--set-advertisement-groups": "value", "--set-advertisement-ranges": "value" } }, "add-interface": { "commands": {}, "flags": { "--interconnect-attachment": "dynamic", "--interconnect-attachment-region": "dynamic", "--interface-name": "value", "--ip-address": "value", "--mask-length": "value", "--region": "dynamic", "--vpn-tunnel": "dynamic", "--vpn-tunnel-region": "dynamic" } }, "create": { "commands": {}, "flags": { "--advertisement-mode": [ "CUSTOM", "DEFAULT" ], "--asn": "value", "--async": "bool", "--description": "value", "--network": "dynamic", "--region": "dynamic", "--set-advertisement-groups": "value", "--set-advertisement-ranges": "value" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "get-nat-mapping-info": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value" } }, "get-status": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "nats": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--auto-allocate-nat-external-ips": "bool", "--enable-logging": "bool", "--icmp-idle-timeout": "value", "--log-filter": [ "ALL", "ERRORS_ONLY", "TRANSLATIONS_ONLY" ], "--min-ports-per-vm": "value", "--nat-all-subnet-ip-ranges": "bool", "--nat-custom-subnet-ip-ranges": "value", "--nat-external-ip-pool": "value", "--nat-primary-subnet-ip-ranges": "bool", "--region": "dynamic", "--router": "dynamic", "--tcp-established-idle-timeout": "value", "--tcp-transitory-idle-timeout": "value", "--udp-idle-timeout": "value" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic", "--router": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic", "--router": "dynamic" } }, "list": { "commands": {}, "flags": { "--region": "dynamic", "--router": "dynamic" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--auto-allocate-nat-external-ips": "bool", "--clear-icmp-idle-timeout": "bool", "--clear-min-ports-per-vm": "bool", "--clear-nat-external-drain-ip-pool": "bool", "--clear-tcp-established-idle-timeout": "bool", "--clear-tcp-transitory-idle-timeout": "bool", "--clear-udp-idle-timeout": "bool", "--enable-logging": "bool", "--icmp-idle-timeout": "value", "--log-filter": [ "ALL", "ERRORS_ONLY", "TRANSLATIONS_ONLY" ], "--min-ports-per-vm": "value", "--nat-all-subnet-ip-ranges": "bool", "--nat-custom-subnet-ip-ranges": "value", "--nat-external-drain-ip-pool": "value", "--nat-external-ip-pool": "value", "--nat-primary-subnet-ip-ranges": "bool", "--region": "dynamic", "--router": "dynamic", "--tcp-established-idle-timeout": "value", "--tcp-transitory-idle-timeout": "value", "--udp-idle-timeout": "value" } } }, "flags": {} }, "remove-bgp-peer": { "commands": {}, "flags": { "--peer-name": "value", "--region": "dynamic" } }, "remove-interface": { "commands": {}, "flags": { "--interface-name": "value", "--region": "dynamic" } }, "update": { "commands": {}, "flags": { "--add-advertisement-groups": "value", "--add-advertisement-ranges": "value", "--advertisement-mode": [ "CUSTOM", "DEFAULT" ], "--async": "bool", "--region": "dynamic", "--remove-advertisement-groups": "value", "--remove-advertisement-ranges": "value", "--set-advertisement-groups": "value", "--set-advertisement-ranges": "value" } }, "update-bgp-peer": { "commands": {}, "flags": { "--add-advertisement-groups": "value", "--add-advertisement-ranges": "value", "--advertised-route-priority": "value", "--advertisement-mode": [ "CUSTOM", "DEFAULT" ], "--async": "bool", "--interface": "value", "--ip-address": "value", "--peer-asn": "value", "--peer-ip-address": "value", "--peer-name": "value", "--region": "dynamic", "--remove-advertisement-groups": "value", "--remove-advertisement-ranges": "value", "--set-advertisement-groups": "value", "--set-advertisement-ranges": "value" } }, "update-interface": { "commands": {}, "flags": { "--interconnect-attachment": "dynamic", "--interconnect-attachment-region": "dynamic", "--interface-name": "value", "--ip-address": "value", "--mask-length": "value", "--region": "dynamic", "--vpn-tunnel": "dynamic", "--vpn-tunnel-region": "dynamic" } } }, "flags": {} }, "routes": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--destination-range": "value", "--network": "value", "--next-hop-address": "value", "--next-hop-gateway": "dynamic", "--next-hop-ilb": "value", "--next-hop-ilb-region": "value", "--next-hop-instance": "value", "--next-hop-instance-zone": "value", "--next-hop-vpn-tunnel": "value", "--next-hop-vpn-tunnel-region": "value", "--priority": "value", "--tags": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "scp": { "commands": {}, "flags": { "--compress": "bool", "--dry-run": "bool", "--force-key-file-overwrite": "bool", "--internal-ip": "bool", "--plain": "bool", "--port": "value", "--recurse": "bool", "--scp-flag": "value", "--ssh-key-expiration": "value", "--ssh-key-expire-after": "value", "--ssh-key-file": "value", "--strict-host-key-checking": [ "ask", "no", "yes" ], "--tunnel-through-iap": "bool", "--zone": "value" } }, "security-policies": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--file-format": [ "json", "yaml" ], "--file-name": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "export": { "commands": {}, "flags": { "--file-format": [ "json", "yaml" ], "--file-name": "value" } }, "import": { "commands": {}, "flags": { "--file-format": [ "json", "yaml" ], "--file-name": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "list-preconfigured-expression-sets": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "rules": { "commands": { "create": { "commands": {}, "flags": { "--action": [ "allow", "deny-403", "deny-404", "deny-502" ], "--description": "value", "--expression": "value", "--preview": "bool", "--security-policy": "dynamic", "--src-ip-ranges": "value" } }, "delete": { "commands": {}, "flags": { "--security-policy": "dynamic" } }, "describe": { "commands": {}, "flags": { "--security-policy": "dynamic" } }, "update": { "commands": {}, "flags": { "--action": [ "allow", "deny-403", "deny-404", "deny-502" ], "--description": "value", "--expression": "value", "--preview": "bool", "--security-policy": "dynamic", "--src-ip-ranges": "value" } } }, "flags": {} } }, "flags": {} }, "shared-vpc": { "commands": { "associated-projects": { "commands": { "add": { "commands": {}, "flags": { "--host-project": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove": { "commands": {}, "flags": { "--host-project": "value" } } }, "flags": {} }, "disable": { "commands": {}, "flags": {} }, "enable": { "commands": {}, "flags": {} }, "get-host-project": { "commands": {}, "flags": {} }, "list-associated-resources": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "organizations": { "commands": { "list-host-projects": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "sign-url": { "commands": {}, "flags": { "--expires-in": "value", "--key-file": "value", "--key-name": "value", "--validate": "bool" } }, "snapshots": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "add-labels": { "commands": {}, "flags": { "--labels": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "remove-labels": { "commands": {}, "flags": { "--all": "bool", "--labels": "value" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "sole-tenancy": { "commands": { "node-groups": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic", "--zone": "value" } }, "create": { "commands": {}, "flags": { "--autoscaler-mode": [ "off", "on", "only-scale-out" ], "--description": "value", "--maintenance-policy": [ "default", "migrate-within-node-group", "restart-in-place" ], "--max-nodes": "value", "--min-nodes": "value", "--node-template": "value", "--target-size": "value", "--zone": "dynamic" } }, "delete": { "commands": {}, "flags": { "--zone": "dynamic" } }, "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "list-nodes": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--zone": "dynamic" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic", "--zone": "value" } }, "set-iam-policy": { "commands": {}, "flags": { "--zone": "value" } }, "update": { "commands": {}, "flags": { "--add-nodes": "value", "--autoscaler-mode": [ "off", "on", "only-scale-out" ], "--delete-nodes": "value", "--max-nodes": "value", "--min-nodes": "value", "--node-template": "value", "--zone": "dynamic" } } }, "flags": {} }, "node-templates": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--region": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--cpu-overcommit-type": [ "enabled", "none" ], "--description": "value", "--node-affinity-labels": "value", "--node-requirements": "value", "--node-type": "value", "--region": "dynamic", "--server-binding": [ "restart-node-on-any-server", "restart-node-on-minimal-servers" ] } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--region": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "value" } } }, "flags": {} }, "node-types": { "commands": { "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "ssh": { "commands": {}, "flags": { "--command": "value", "--container": "value", "--dry-run": "bool", "--force-key-file-overwrite": "bool", "--internal-ip": "bool", "--plain": "bool", "--ssh-flag": "value", "--ssh-key-expiration": "value", "--ssh-key-expire-after": "value", "--ssh-key-file": "value", "--strict-host-key-checking": [ "ask", "no", "yes" ], "--tunnel-through-iap": "bool", "--zone": "dynamic" } }, "ssl-certificates": { "commands": { "create": { "commands": {}, "flags": { "--certificate": "value", "--description": "value", "--domains": "value", "--global": "bool", "--private-key": "value", "--region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "ssl-policies": { "commands": { "create": { "commands": {}, "flags": { "--custom-features": "value", "--description": "value", "--min-tls-version": [ "1.0", "1.1", "1.2" ], "--profile": [ "COMPATIBLE", "CUSTOM", "MODERN", "RESTRICTED" ] } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "list-available-features": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--custom-features": "value", "--min-tls-version": [ "1.0", "1.1", "1.2" ], "--profile": [ "COMPATIBLE", "CUSTOM", "MODERN", "RESTRICTED" ] } } }, "flags": {} }, "start-iap-tunnel": { "commands": {}, "flags": { "--local-host-port": "value", "--zone": "dynamic" } }, "target-http-proxies": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--global": "bool", "--global-url-map": "bool", "--region": "dynamic", "--url-map": "dynamic", "--url-map-region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--global": "bool", "--global-url-map": "bool", "--region": "dynamic", "--url-map": "dynamic", "--url-map-region": "dynamic" } } }, "flags": {} }, "target-https-proxies": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--global": "bool", "--global-ssl-certificates": "bool", "--global-url-map": "bool", "--quic-override": [ "DISABLE", "ENABLE", "NONE" ], "--region": "dynamic", "--ssl-certificates": "dynamic", "--ssl-certificates-region": "dynamic", "--ssl-policy": "dynamic", "--url-map": "dynamic", "--url-map-region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--clear-ssl-policy": "bool", "--global": "bool", "--global-ssl-certificates": "bool", "--global-url-map": "bool", "--quic-override": [ "DISABLE", "ENABLE", "NONE" ], "--region": "dynamic", "--ssl-certificates": "dynamic", "--ssl-certificates-region": "dynamic", "--ssl-policy": "dynamic", "--url-map": "dynamic", "--url-map-region": "dynamic" } } }, "flags": {} }, "target-instances": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--instance": "dynamic", "--instance-zone": "dynamic", "--zone": "dynamic" } }, "delete": { "commands": {}, "flags": { "--zone": "dynamic" } }, "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool", "--zones": "dynamic" } } }, "flags": {} }, "target-pools": { "commands": { "add-health-checks": { "commands": {}, "flags": { "--http-health-check": "dynamic", "--region": "dynamic" } }, "add-instances": { "commands": {}, "flags": { "--instances": "dynamic", "--instances-zone": "dynamic", "--region": "dynamic", "--zone": "dynamic" } }, "create": { "commands": {}, "flags": { "--backup-pool": "value", "--description": "value", "--failover-ratio": "value", "--health-check": "value", "--http-health-check": "dynamic", "--region": "dynamic", "--session-affinity": [ "CLIENT_IP", "CLIENT_IP_PROTO", "NONE" ] } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "get-health": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-health-checks": { "commands": {}, "flags": { "--http-health-check": "dynamic", "--region": "dynamic" } }, "remove-instances": { "commands": {}, "flags": { "--instances": "dynamic", "--instances-zone": "dynamic", "--region": "dynamic", "--zone": "dynamic" } }, "set-backup": { "commands": {}, "flags": { "--backup-pool": "dynamic", "--failover-ratio": "value", "--no-backup-pool": "bool", "--region": "dynamic" } } }, "flags": {} }, "target-ssl-proxies": { "commands": { "create": { "commands": {}, "flags": { "--backend-service": "dynamic", "--description": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--ssl-certificates": "dynamic", "--ssl-policy": "dynamic" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--backend-service": "dynamic", "--clear-ssl-policy": "bool", "--proxy-header": [ "NONE", "PROXY_V1" ], "--ssl-certificates": "dynamic", "--ssl-policy": "dynamic" } } }, "flags": {} }, "target-tcp-proxies": { "commands": { "create": { "commands": {}, "flags": { "--backend-service": "dynamic", "--description": "value", "--proxy-header": [ "NONE", "PROXY_V1" ] } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--backend-service": "dynamic", "--proxy-header": [ "NONE", "PROXY_V1" ] } } }, "flags": {} }, "target-vpn-gateways": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--network": "dynamic", "--region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--region": "dynamic", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "tpus": { "commands": { "accelerator-types": { "commands": { "describe": { "commands": {}, "flags": { "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--zone": "dynamic" } } }, "flags": {} }, "create": { "commands": {}, "flags": { "--accelerator-type": "value", "--async": "bool", "--description": "value", "--network": "value", "--preemptible": "bool", "--range": "value", "--reserved": "bool", "--zone": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--zone": "value" } }, "describe": { "commands": {}, "flags": { "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool", "--zone": "dynamic" } }, "locations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} }, "reimage": { "commands": {}, "flags": { "--async": "bool", "--zone": "value" } }, "start": { "commands": {}, "flags": { "--async": "bool", "--zone": "value" } }, "stop": { "commands": {}, "flags": { "--async": "bool", "--zone": "value" } }, "versions": { "commands": { "describe": { "commands": {}, "flags": { "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--zone": "dynamic" } } }, "flags": {} } }, "flags": {} }, "url-maps": { "commands": { "add-host-rule": { "commands": {}, "flags": { "--description": "value", "--global": "bool", "--hosts": "value", "--path-matcher-name": "value", "--region": "dynamic" } }, "add-path-matcher": { "commands": {}, "flags": { "--backend-bucket-path-rules": "value", "--backend-service-path-rules": "value", "--default-backend-bucket": "value", "--default-service": "value", "--delete-orphaned-path-matcher": "bool", "--description": "value", "--existing-host": "value", "--global": "bool", "--new-hosts": "value", "--path-matcher-name": "value", "--path-rules": "value", "--region": "dynamic" } }, "create": { "commands": {}, "flags": { "--default-backend-bucket": "value", "--default-service": "value", "--description": "value", "--global": "bool", "--region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "edit": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--global": "bool", "--region": "dynamic" } }, "import": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic", "--source": "value" } }, "invalidate-cdn-cache": { "commands": {}, "flags": { "--async": "bool", "--global": "bool", "--host": "value", "--path": "value", "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "list-cdn-cache-invalidations": { "commands": {}, "flags": { "--global": "bool", "--limit": "value", "--region": "dynamic" } }, "remove-host-rule": { "commands": {}, "flags": { "--delete-orphaned-path-matcher": "bool", "--global": "bool", "--host": "value", "--region": "dynamic" } }, "remove-path-matcher": { "commands": {}, "flags": { "--global": "bool", "--path-matcher-name": "value", "--region": "dynamic" } }, "set-default-service": { "commands": {}, "flags": { "--default-backend-bucket": "value", "--default-service": "value", "--global": "bool", "--region": "dynamic" } } }, "flags": {} }, "vpn-gateways": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--network": "dynamic", "--region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "get-status": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--region": "dynamic", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "vpn-tunnels": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--ike-version": [ 1, 2 ], "--interface": [ 0, 1 ], "--local-traffic-selector": "value", "--peer-address": "value", "--peer-external-gateway": "dynamic", "--peer-external-gateway-interface": [ 0, 1, 2, 3 ], "--peer-gcp-gateway": "dynamic", "--peer-gcp-gateway-region": "dynamic", "--region": "dynamic", "--remote-traffic-selector": "value", "--router": "dynamic", "--router-region": "dynamic", "--shared-secret": "value", "--target-vpn-gateway": "dynamic", "--target-vpn-gateway-region": "dynamic", "--vpn-gateway": "dynamic", "--vpn-gateway-region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--region": "dynamic", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "zones": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "config": { "commands": { "configurations": { "commands": { "activate": { "commands": {}, "flags": {} }, "create": { "commands": {}, "flags": { "--activate": "bool" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": { "--all": "bool" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--sort-by": "value" } } }, "flags": {} }, "get-value": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--all": "bool", "--filter": "value", "--limit": "value", "--sort-by": "value" } }, "set": { "commands": {}, "flags": { "--installation": "bool" } }, "unset": { "commands": {}, "flags": { "--installation": "bool" } } }, "flags": {} }, "container": { "commands": { "binauthz": { "commands": { "attestations": { "commands": { "create": { "commands": {}, "flags": { "--artifact-url": "value", "--attestor": "value", "--attestor-project": "value", "--payload-file": "value", "--public-key-id": "value", "--signature-file": "value" } }, "list": { "commands": {}, "flags": { "--artifact-url": "value", "--attestor": "value", "--attestor-project": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "sign-and-create": { "commands": {}, "flags": { "--artifact-url": "value", "--attestor": "value", "--attestor-project": "value", "--keyversion": "value", "--keyversion-key": "value", "--keyversion-keyring": "value", "--keyversion-location": "value", "--keyversion-project": "value", "--public-key-id-override": "value" } } }, "flags": {} }, "attestors": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--attestation-authority-note": "value", "--attestation-authority-note-project": "value", "--description": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "public-keys": { "commands": { "add": { "commands": {}, "flags": { "--attestor": "value", "--comment": "value", "--keyversion": "value", "--keyversion-key": "value", "--keyversion-keyring": "value", "--keyversion-location": "value", "--keyversion-project": "value", "--pgp-public-key-file": "value", "--pkix-public-key-algorithm": [ "ecdsa-p256-sha256", "ecdsa-p384-sha384", "ecdsa-p521-sha512", "rsa-pss-2048-sha256", "rsa-pss-3072-sha256", "rsa-pss-4096-sha256", "rsa-pss-4096-sha512", "rsa-sign-pkcs1-2048-sha256", "rsa-sign-pkcs1-3072-sha256", "rsa-sign-pkcs1-4096-sha256", "rsa-sign-pkcs1-4096-sha512" ], "--pkix-public-key-file": "value", "--public-key-id-override": "value" } }, "remove": { "commands": {}, "flags": { "--attestor": "value" } }, "update": { "commands": {}, "flags": { "--attestor": "value", "--comment": "value", "--pgp-public-key-file": "value" } } }, "flags": {} }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--description": "value" } } }, "flags": {} }, "create-signature-payload": { "commands": {}, "flags": { "--artifact-url": "value" } }, "policy": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "export": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "import": { "commands": {}, "flags": { "--strict-validation": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} } }, "flags": {} } }, "flags": {} }, "clusters": { "commands": { "create": { "commands": {}, "flags": { "--accelerator": "value", "--additional-zones": "value", "--addons": "value", "--allow-route-overlap": "bool", "--async": "bool", "--autoprovisioning-config-file": "value", "--autoprovisioning-locations": "value", "--autoprovisioning-scopes": "value", "--autoprovisioning-service-account": "value", "--autoscaling-profile": "value", "--boot-disk-kms-key": "value", "--cluster-ipv4-cidr": "value", "--cluster-secondary-range-name": "value", "--cluster-version": "value", "--create-subnetwork": "value", "--database-encryption-key": "value", "--default-max-pods-per-node": "value", "--disk-size": "value", "--disk-type": [ "pd-ssd", "pd-standard" ], "--enable-autoprovisioning": "bool", "--enable-autorepair": "bool", "--enable-autoscaling": "bool", "--enable-autoupgrade": "bool", "--enable-basic-auth": "bool", "--enable-binauthz": "bool", "--enable-cloud-logging": "bool", "--enable-cloud-monitoring": "bool", "--enable-cloud-run-alpha": "bool", "--enable-intra-node-visibility": "bool", "--enable-ip-alias": "bool", "--enable-kubernetes-alpha": "bool", "--enable-legacy-authorization": "bool", "--enable-logging-monitoring-system-only": "bool", "--enable-master-authorized-networks": "bool", "--enable-network-egress-metering": "bool", "--enable-network-policy": "bool", "--enable-pod-security-policy": "bool", "--enable-private-endpoint": "bool", "--enable-private-nodes": "bool", "--enable-resource-consumption-metering": "bool", "--enable-shielded-nodes": "bool", "--enable-stackdriver-kubernetes": "bool", "--enable-tpu": "bool", "--enable-tpu-service-networking": "bool", "--enable-vertical-pod-autoscaling": "bool", "--image-type": "value", "--issue-client-certificate": "bool", "--istio-config": "value", "--labels": "value", "--local-ssd-count": "value", "--machine-type": "value", "--maintenance-window": "value", "--maintenance-window-end": "value", "--maintenance-window-recurrence": "value", "--maintenance-window-start": "value", "--master-authorized-networks": "value", "--master-ipv4-cidr": "value", "--max-accelerator": "value", "--max-cpu": "value", "--max-memory": "value", "--max-nodes": "value", "--max-nodes-per-pool": "value", "--max-pods-per-node": "value", "--max-surge-upgrade": "value", "--max-unavailable-upgrade": "value", "--metadata": "value", "--metadata-from-file": "value", "--min-accelerator": "value", "--min-cpu": "value", "--min-cpu-platform": "value", "--min-memory": "value", "--min-nodes": "value", "--network": "value", "--node-labels": "value", "--node-locations": "value", "--node-taints": "value", "--node-version": "value", "--num-nodes": "value", "--password": "value", "--preemptible": "bool", "--private-cluster": "bool", "--region": "value", "--release-channel": [ "rapid", "regular", "stable" ], "--reservation": "value", "--reservation-affinity": [ "any", "none", "specific" ], "--resource-usage-bigquery-dataset": "value", "--scopes": "value", "--security-group": "value", "--service-account": "value", "--services-ipv4-cidr": "value", "--services-secondary-range-name": "value", "--shielded-integrity-monitoring": "bool", "--shielded-secure-boot": "bool", "--subnetwork": "value", "--tags": "value", "--tpu-ipv4-cidr": "value", "--username": "value", "--workload-metadata-from-node": [ "EXPOSED", "GCE_METADATA", "GKE_METADATA", "GKE_METADATA_SERVER", "SECURE" ], "--workload-pool": "value", "--zone": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--region": "value", "--zone": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value", "--zone": "value" } }, "get-credentials": { "commands": {}, "flags": { "--internal-ip": "bool", "--region": "value", "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--uri": "bool", "--zone": "value" } }, "resize": { "commands": {}, "flags": { "--async": "bool", "--node-pool": "value", "--num-nodes": "value", "--region": "value", "--size": "value", "--zone": "value" } }, "update": { "commands": {}, "flags": { "--add-maintenance-exclusion-end": "value", "--add-maintenance-exclusion-name": "value", "--add-maintenance-exclusion-start": "value", "--additional-zones": "value", "--async": "bool", "--autoprovisioning-config-file": "value", "--autoprovisioning-locations": "value", "--autoprovisioning-scopes": "value", "--autoprovisioning-service-account": "value", "--autoscaling-profile": "value", "--clear-maintenance-window": "bool", "--clear-resource-usage-bigquery-dataset": "bool", "--complete-credential-rotation": "bool", "--complete-ip-rotation": "bool", "--database-encryption-key": "value", "--disable-database-encryption": "bool", "--disable-workload-identity": "bool", "--enable-autoprovisioning": "bool", "--enable-autoscaling": "bool", "--enable-basic-auth": "bool", "--enable-binauthz": "bool", "--enable-intra-node-visibility": "bool", "--enable-legacy-authorization": "bool", "--enable-logging-monitoring-system-only": "bool", "--enable-master-authorized-networks": "bool", "--enable-network-egress-metering": "bool", "--enable-network-policy": "bool", "--enable-pod-security-policy": "bool", "--enable-resource-consumption-metering": "bool", "--enable-shielded-nodes": "bool", "--enable-stackdriver-kubernetes": "bool", "--enable-tpu": "bool", "--enable-tpu-service-networking": "bool", "--enable-vertical-pod-autoscaling": "bool", "--generate-password": "bool", "--istio-config": "value", "--logging-service": "value", "--maintenance-window": "value", "--maintenance-window-end": "value", "--maintenance-window-recurrence": "value", "--maintenance-window-start": "value", "--master-authorized-networks": "value", "--max-accelerator": "value", "--max-cpu": "value", "--max-memory": "value", "--max-nodes": "value", "--min-accelerator": "value", "--min-cpu": "value", "--min-memory": "value", "--min-nodes": "value", "--monitoring-service": "value", "--node-locations": "value", "--node-pool": "value", "--password": "value", "--region": "value", "--release-channel": [ "None", "rapid", "regular", "stable" ], "--remove-labels": "value", "--remove-maintenance-exclusion": "value", "--resource-usage-bigquery-dataset": "value", "--set-password": "bool", "--start-credential-rotation": "bool", "--start-ip-rotation": "bool", "--tpu-ipv4-cidr": "value", "--update-addons": "value", "--update-labels": "value", "--username": "value", "--workload-pool": "value", "--zone": "value" } }, "upgrade": { "commands": {}, "flags": { "--async": "bool", "--cluster-version": "value", "--image-type": "value", "--master": "bool", "--node-pool": "value", "--region": "value", "--zone": "value" } } }, "flags": { "--region": "value", "--zone": "value" } }, "get-server-config": { "commands": {}, "flags": { "--region": "value", "--zone": "value" } }, "hub": { "commands": { "memberships": { "commands": { "delete": { "commands": {}, "flags": { "--async": "bool", "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "register": { "commands": {}, "flags": { "--context": "value", "--gke-cluster": "value", "--gke-uri": "value", "--kubeconfig": "value", "--manifest-output-file": "value", "--proxy": "value", "--service-account-key-file": "value" } }, "unregister": { "commands": {}, "flags": { "--context": "value", "--gke-cluster": "value", "--gke-uri": "value", "--kubeconfig": "value" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--clear-labels": "bool", "--location": "value", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} } }, "flags": {} }, "images": { "commands": { "add-tag": { "commands": {}, "flags": {} }, "delete": { "commands": {}, "flags": { "--force-delete-tags": "bool" } }, "describe": { "commands": {}, "flags": { "--metadata-filter": "value", "--show-all-metadata": "bool", "--show-build-details": "bool", "--show-deployment": "bool", "--show-image-basis": "bool", "--show-package-vulnerability": "bool" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--repository": "value", "--sort-by": "value", "--uri": "bool" } }, "list-tags": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--occurrence-filter": "value", "--page-size": "value", "--show-occurrences": "bool", "--show-occurrences-from": "value", "--sort-by": "value" } }, "untag": { "commands": {}, "flags": {} } }, "flags": {} }, "memberships": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--description": "value", "--gke-cluster-self-link": "value", "--labels": "value", "--location": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "register": { "commands": {}, "flags": { "--context": "value", "--kubeconfig": "value", "--manifest-output-file": "value", "--proxy": "value", "--service-account-key-file": "value" } }, "unregister": { "commands": {}, "flags": { "--context": "value", "--kubeconfig": "value" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--clear-labels": "bool", "--description": "value", "--gke-cluster-self-link": "value", "--location": "value", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "node-pools": { "commands": { "create": { "commands": {}, "flags": { "--accelerator": "value", "--boot-disk-kms-key": "value", "--cluster": "value", "--disk-size": "value", "--disk-type": [ "pd-ssd", "pd-standard" ], "--enable-autoprovisioning": "bool", "--enable-autorepair": "bool", "--enable-autoscaling": "bool", "--enable-autoupgrade": "bool", "--image-type": "value", "--local-ssd-count": "value", "--machine-type": "value", "--max-nodes": "value", "--max-pods-per-node": "value", "--max-surge-upgrade": "value", "--max-unavailable-upgrade": "value", "--metadata": "value", "--metadata-from-file": "value", "--min-cpu-platform": "value", "--min-nodes": "value", "--node-labels": "value", "--node-locations": "value", "--node-taints": "value", "--node-version": "value", "--num-nodes": "value", "--preemptible": "bool", "--region": "value", "--reservation": "value", "--reservation-affinity": [ "any", "none", "specific" ], "--sandbox": "value", "--scopes": "value", "--service-account": "value", "--shielded-integrity-monitoring": "bool", "--shielded-secure-boot": "bool", "--tags": "value", "--workload-metadata-from-node": [ "EXPOSED", "GCE_METADATA", "GKE_METADATA", "GKE_METADATA_SERVER", "SECURE" ], "--zone": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--cluster": "value", "--region": "value", "--zone": "value" } }, "describe": { "commands": {}, "flags": { "--cluster": "value", "--region": "value", "--zone": "value" } }, "list": { "commands": {}, "flags": { "--cluster": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--uri": "bool", "--zone": "value" } }, "rollback": { "commands": {}, "flags": { "--async": "bool", "--cluster": "value", "--region": "value", "--zone": "value" } }, "update": { "commands": {}, "flags": { "--cluster": "value", "--enable-autoprovisioning": "bool", "--enable-autorepair": "bool", "--enable-autoscaling": "bool", "--enable-autoupgrade": "bool", "--max-nodes": "value", "--max-surge-upgrade": "value", "--max-unavailable-upgrade": "value", "--min-nodes": "value", "--node-locations": "value", "--region": "value", "--workload-metadata-from-node": [ "EXPOSED", "GCE_METADATA", "GKE_METADATA", "GKE_METADATA_SERVER", "SECURE" ], "--zone": "value" } } }, "flags": { "--region": "value", "--zone": "value" } }, "operations": { "commands": { "cancel": { "commands": {}, "flags": { "--region": "value", "--zone": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value", "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--zone": "value" } }, "wait": { "commands": {}, "flags": { "--region": "value", "--zone": "value" } } }, "flags": { "--region": "value", "--zone": "value" } }, "subnets": { "commands": { "list-usable": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--network-project": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "data-catalog": { "commands": { "entries": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--display-name": "value", "--entry-group": "value", "--gcs-file-patterns": "value", "--location": "value", "--schema": "value", "--schema-from-file": "value" } }, "delete": { "commands": {}, "flags": { "--entry-group": "value", "--location": "value" } }, "describe": { "commands": {}, "flags": { "--entry-group": "value", "--location": "value" } }, "list": { "commands": {}, "flags": { "--entry-group": "value", "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "lookup": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--add-file-patterns": "value", "--clear-file-patterns": "bool", "--description": "value", "--display-name": "value", "--entry-group": "value", "--location": "value", "--lookup-entry": "value", "--remove-file-patterns": "value", "--schema": "value", "--schema-from-file": "value" } } }, "flags": {} }, "entry-groups": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--description": "value", "--display-name": "value", "--location": "value" } }, "delete": { "commands": {}, "flags": { "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--location": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--location": "value" } }, "update": { "commands": {}, "flags": { "--description": "value", "--display-name": "value", "--location": "value" } } }, "flags": {} }, "search": { "commands": {}, "flags": { "--include-gcp-public-datasets": "bool", "--include-organization-ids": "value", "--include-project-ids": "value", "--limit": "value", "--order-by": "value", "--page-size": "value" } }, "tag-templates": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--display-name": "value", "--field": "value", "--location": "value" } }, "delete": { "commands": {}, "flags": { "--force": "bool", "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "fields": { "commands": { "create": { "commands": {}, "flags": { "--display-name": "value", "--location": "value", "--tag-template": "value", "--type": "value" } }, "delete": { "commands": {}, "flags": { "--force": "bool", "--location": "value", "--tag-template": "value" } }, "rename": { "commands": {}, "flags": { "--location": "value", "--new-id": "value", "--tag-template": "value" } }, "update": { "commands": {}, "flags": { "--add-enum-values": "value", "--display-name": "value", "--location": "value", "--required": "bool", "--tag-template": "value" } } }, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--location": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--location": "value" } }, "update": { "commands": {}, "flags": { "--display-name": "value", "--location": "value" } } }, "flags": {} }, "tags": { "commands": { "create": { "commands": {}, "flags": { "--entry": "value", "--entry-group": "value", "--location": "value", "--scope": "value", "--tag-file": "value", "--tag-template": "value", "--tag-template-location": "value", "--tag-template-project": "value" } }, "delete": { "commands": {}, "flags": { "--entry": "value", "--entry-group": "value", "--location": "value" } }, "list": { "commands": {}, "flags": { "--entry": "value", "--entry-group": "value", "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--entry": "value", "--entry-group": "value", "--location": "value", "--tag-file": "value", "--tag-template": "value", "--tag-template-location": "value", "--tag-template-project": "value" } } }, "flags": {} } }, "flags": {} }, "data-fusion": { "commands": { "instances": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--edition": [ "basic", "enterprise" ], "--enable_stackdriver_logging": "bool", "--enable_stackdriver_monitoring": "bool", "--labels": "value", "--location": "value", "--options": "value", "--zone": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "restart": { "commands": {}, "flags": { "--async": "bool", "--location": "value" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--enable_stackdriver_logging": "bool", "--enable_stackdriver_monitoring": "bool", "--labels": "value", "--location": "value" } } }, "flags": {} }, "operations": { "commands": { "delete": { "commands": {}, "flags": { "--location": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "wait": { "commands": {}, "flags": { "--location": "value" } } }, "flags": {} } }, "flags": {} }, "dataflow": { "commands": { "flex-template": { "commands": { "build": { "commands": {}, "flags": { "--image": "value", "--metadata-file": "value", "--print-only": "bool", "--sdk-language": [ "JAVA", "PYTHON" ] } }, "run": { "commands": {}, "flags": { "--parameters": "value", "--region": "value", "--template-file-gcs-location": "value" } } }, "flags": {} }, "jobs": { "commands": { "cancel": { "commands": {}, "flags": { "--region": "value" } }, "describe": { "commands": {}, "flags": { "--full": "bool", "--region": "value" } }, "drain": { "commands": {}, "flags": { "--region": "value" } }, "export-steps": { "commands": {}, "flags": { "--region": "value" } }, "list": { "commands": {}, "flags": { "--created-after": "value", "--created-before": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--status": [ "active", "all", "terminated" ], "--uri": "bool" } }, "run": { "commands": {}, "flags": { "--dataflow-kms-key": "value", "--disable-public-ips": "bool", "--gcs-location": "value", "--max-workers": "value", "--network": "value", "--num-workers": "value", "--parameters": "value", "--region": "value", "--service-account-email": "value", "--staging-location": "value", "--subnetwork": "value", "--worker-machine-type": "value", "--worker-region": "value", "--worker-zone": "value", "--zone": "value" } }, "show": { "commands": {}, "flags": { "--environment": "bool", "--region": "value", "--steps": "bool" } } }, "flags": {} }, "logs": { "commands": { "list": { "commands": {}, "flags": { "--after": "value", "--before": "value", "--filter": "value", "--importance": [ "debug", "detailed", "error", "warning" ], "--limit": "value", "--region": "value" } } }, "flags": {} }, "metrics": { "commands": { "list": { "commands": {}, "flags": { "--changed-after": "value", "--filter": "value", "--hide-committed": "bool", "--limit": "value", "--region": "value", "--source": [ "all", "service", "user" ], "--tentative": "bool", "--transform": "value" } } }, "flags": {} }, "sql": { "commands": { "query": { "commands": {}, "flags": { "--bigquery-dataset": "value", "--bigquery-project": "value", "--bigquery-table": "value", "--bigquery-write-disposition": [ "write-append", "write-empty", "write-truncate" ], "--dataflow-kms-key": "value", "--disable-public-ips": "bool", "--dry-run": "bool", "--job-name": "value", "--max-workers": "value", "--network": "value", "--num-workers": "value", "--parameter": "value", "--parameters-file": "value", "--pubsub-create-disposition": [ "create-if-not-found", "fail-if-not-found" ], "--pubsub-project": "value", "--pubsub-topic": "value", "--region": "value", "--service-account-email": "value", "--subnetwork": "value", "--worker-machine-type": "value", "--worker-region": "value", "--worker-zone": "value", "--zone": "value" } } }, "flags": {} } }, "flags": {} }, "dataproc": { "commands": { "autoscaling-policies": { "commands": { "delete": { "commands": {}, "flags": { "--region": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--region": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--region": "value" } }, "import": { "commands": {}, "flags": { "--region": "value", "--source": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--uri": "bool" } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "value" } } }, "flags": {} }, "clusters": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--autoscaling-policy": "value", "--bucket": "value", "--enable-component-gateway": "bool", "--expiration-time": "value", "--gce-pd-kms-key": "dynamic", "--gce-pd-kms-key-keyring": "dynamic", "--gce-pd-kms-key-location": "dynamic", "--gce-pd-kms-key-project": "dynamic", "--image": "value", "--image-version": "value", "--initialization-action-timeout": "value", "--initialization-actions": "value", "--kerberos-config-file": "value", "--kerberos-kms-key": "dynamic", "--kerberos-kms-key-keyring": "dynamic", "--kerberos-kms-key-location": "dynamic", "--kerberos-kms-key-project": "dynamic", "--kerberos-root-principal-password-uri": "value", "--labels": "value", "--master-accelerator": "value", "--master-boot-disk-size": "value", "--master-boot-disk-type": "value", "--master-machine-type": "value", "--master-min-cpu-platform": "value", "--max-age": "value", "--max-idle": "value", "--metadata": "value", "--network": "value", "--no-address": "bool", "--num-master-local-ssds": "value", "--num-masters": "value", "--num-secondary-worker-local-ssds": "value", "--num-secondary-workers": "value", "--num-worker-local-ssds": "value", "--num-workers": "value", "--optional-components": "value", "--properties": "value", "--region": "value", "--reservation": "value", "--reservation-affinity": [ "any", "none", "specific" ], "--scopes": "value", "--secondary-worker-accelerator": "value", "--secondary-worker-boot-disk-size": "value", "--secondary-worker-boot-disk-type": "value", "--service-account": "value", "--single-node": "bool", "--subnet": "value", "--tags": "value", "--worker-accelerator": "value", "--worker-boot-disk-size": "value", "--worker-boot-disk-type": "value", "--worker-machine-type": "value", "--worker-min-cpu-platform": "value", "--zone": "value" } }, "create-from-file": { "commands": {}, "flags": { "--async": "bool", "--file": "value", "--region": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--region": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value" } }, "diagnose": { "commands": {}, "flags": { "--region": "value" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--region": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } }, "import": { "commands": {}, "flags": { "--async": "bool", "--region": "value", "--source": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "value" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--autoscaling-policy": "value", "--clear-labels": "bool", "--disable-autoscaling": "bool", "--expiration-time": "value", "--graceful-decommission-timeout": "value", "--max-age": "value", "--max-idle": "value", "--no-max-age": "bool", "--no-max-idle": "bool", "--num-secondary-workers": "value", "--num-workers": "value", "--region": "value", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "jobs": { "commands": { "delete": { "commands": {}, "flags": { "--region": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } }, "kill": { "commands": {}, "flags": { "--region": "value" } }, "list": { "commands": {}, "flags": { "--cluster": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--state-filter": [ "active", "inactive" ] } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "value" } }, "submit": { "commands": { "hadoop": { "commands": {}, "flags": { "--archives": "value", "--async": "bool", "--bucket": "value", "--class": "value", "--cluster": "value", "--driver-log-levels": "value", "--files": "value", "--jar": "value", "--jars": "value", "--labels": "value", "--max-failures-per-hour": "value", "--properties": "value", "--region": "value" } }, "hive": { "commands": {}, "flags": { "--async": "bool", "--bucket": "value", "--cluster": "value", "--continue-on-failure": "bool", "--execute": "value", "--file": "value", "--jars": "value", "--labels": "value", "--max-failures-per-hour": "value", "--params": "value", "--properties": "value", "--region": "value" } }, "pig": { "commands": {}, "flags": { "--async": "bool", "--bucket": "value", "--cluster": "value", "--continue-on-failure": "bool", "--driver-log-levels": "value", "--execute": "value", "--file": "value", "--jars": "value", "--labels": "value", "--max-failures-per-hour": "value", "--params": "value", "--properties": "value", "--region": "value" } }, "presto": { "commands": {}, "flags": { "--async": "bool", "--bucket": "value", "--client-tags": "value", "--cluster": "value", "--continue-on-failure": "bool", "--driver-log-levels": "value", "--execute": "value", "--file": "value", "--labels": "value", "--max-failures-per-hour": "value", "--properties": "value", "--query-output-format": "value", "--region": "value" } }, "pyspark": { "commands": {}, "flags": { "--archives": "value", "--async": "bool", "--bucket": "value", "--cluster": "value", "--driver-log-levels": "value", "--files": "value", "--jars": "value", "--labels": "value", "--max-failures-per-hour": "value", "--properties": "value", "--py-files": "value", "--region": "value" } }, "spark": { "commands": {}, "flags": { "--archives": "value", "--async": "bool", "--bucket": "value", "--class": "value", "--cluster": "value", "--driver-log-levels": "value", "--files": "value", "--jar": "value", "--jars": "value", "--labels": "value", "--max-failures-per-hour": "value", "--properties": "value", "--region": "value" } }, "spark-r": { "commands": {}, "flags": { "--archives": "value", "--async": "bool", "--bucket": "value", "--cluster": "value", "--driver-log-levels": "value", "--files": "value", "--labels": "value", "--max-failures-per-hour": "value", "--properties": "value", "--region": "value" } }, "spark-sql": { "commands": {}, "flags": { "--async": "bool", "--bucket": "value", "--cluster": "value", "--driver-log-levels": "value", "--execute": "value", "--file": "value", "--jars": "value", "--labels": "value", "--max-failures-per-hour": "value", "--params": "value", "--properties": "value", "--region": "value" } } }, "flags": { "--async": "bool", "--bucket": "value", "--region": "value" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--region": "value", "--remove-labels": "value", "--update-labels": "value" } }, "wait": { "commands": {}, "flags": { "--region": "value" } } }, "flags": {} }, "operations": { "commands": { "cancel": { "commands": {}, "flags": { "--region": "value" } }, "delete": { "commands": {}, "flags": { "--region": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--cluster": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--state-filter": [ "active", "inactive" ] } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "value" } } }, "flags": {} }, "workflow-templates": { "commands": { "add-job": { "commands": { "hadoop": { "commands": {}, "flags": { "--archives": "value", "--class": "value", "--driver-log-levels": "value", "--files": "value", "--jar": "value", "--jars": "value", "--labels": "value", "--properties": "value", "--region": "value", "--start-after": "value", "--step-id": "value", "--workflow-template": "value" } }, "hive": { "commands": {}, "flags": { "--continue-on-failure": "bool", "--execute": "value", "--file": "value", "--jars": "value", "--labels": "value", "--params": "value", "--properties": "value", "--region": "value", "--start-after": "value", "--step-id": "value", "--workflow-template": "value" } }, "pig": { "commands": {}, "flags": { "--continue-on-failure": "bool", "--driver-log-levels": "value", "--execute": "value", "--file": "value", "--jars": "value", "--labels": "value", "--params": "value", "--properties": "value", "--region": "value", "--start-after": "value", "--step-id": "value", "--workflow-template": "value" } }, "presto": { "commands": {}, "flags": { "--client-tags": "value", "--continue-on-failure": "bool", "--driver-log-levels": "value", "--execute": "value", "--file": "value", "--labels": "value", "--properties": "value", "--query-output-format": "value", "--region": "value", "--start-after": "value", "--step-id": "value", "--workflow-template": "value" } }, "pyspark": { "commands": {}, "flags": { "--archives": "value", "--driver-log-levels": "value", "--files": "value", "--jars": "value", "--labels": "value", "--properties": "value", "--py-files": "value", "--region": "value", "--start-after": "value", "--step-id": "value", "--workflow-template": "value" } }, "spark": { "commands": {}, "flags": { "--archives": "value", "--class": "value", "--driver-log-levels": "value", "--files": "value", "--jar": "value", "--jars": "value", "--labels": "value", "--properties": "value", "--region": "value", "--start-after": "value", "--step-id": "value", "--workflow-template": "value" } }, "spark-r": { "commands": {}, "flags": { "--archives": "value", "--driver-log-levels": "value", "--files": "value", "--labels": "value", "--properties": "value", "--region": "value", "--start-after": "value", "--step-id": "value", "--workflow-template": "value" } }, "spark-sql": { "commands": {}, "flags": { "--driver-log-levels": "value", "--execute": "value", "--file": "value", "--jars": "value", "--labels": "value", "--params": "value", "--properties": "value", "--region": "value", "--start-after": "value", "--step-id": "value", "--workflow-template": "value" } } }, "flags": {} }, "create": { "commands": {}, "flags": { "--labels": "value", "--region": "value" } }, "delete": { "commands": {}, "flags": { "--region": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--region": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--region": "value" } }, "import": { "commands": {}, "flags": { "--region": "value", "--source": "value" } }, "instantiate": { "commands": {}, "flags": { "--async": "bool", "--parameters": "value", "--region": "value" } }, "instantiate-from-file": { "commands": {}, "flags": { "--async": "bool", "--file": "value", "--region": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } }, "remove-job": { "commands": {}, "flags": { "--region": "value", "--step-id": "value" } }, "run": { "commands": {}, "flags": { "--async": "bool", "--region": "value" } }, "set-cluster-selector": { "commands": {}, "flags": { "--cluster-labels": "value", "--region": "value" } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "value" } }, "set-managed-cluster": { "commands": {}, "flags": { "--autoscaling-policy": "value", "--bucket": "value", "--cluster-name": "value", "--enable-component-gateway": "bool", "--image": "value", "--image-version": "value", "--initialization-action-timeout": "value", "--initialization-actions": "value", "--kerberos-config-file": "value", "--kerberos-kms-key": "dynamic", "--kerberos-kms-key-keyring": "dynamic", "--kerberos-kms-key-location": "dynamic", "--kerberos-kms-key-project": "dynamic", "--kerberos-root-principal-password-uri": "value", "--labels": "value", "--master-accelerator": "value", "--master-boot-disk-size": "value", "--master-boot-disk-type": "value", "--master-machine-type": "value", "--master-min-cpu-platform": "value", "--metadata": "value", "--network": "value", "--no-address": "bool", "--num-master-local-ssds": "value", "--num-masters": "value", "--num-secondary-worker-local-ssds": "value", "--num-secondary-workers": "value", "--num-worker-local-ssds": "value", "--num-workers": "value", "--optional-components": "value", "--properties": "value", "--region": "value", "--reservation": "value", "--reservation-affinity": [ "any", "none", "specific" ], "--scopes": "value", "--secondary-worker-accelerator": "value", "--secondary-worker-boot-disk-size": "value", "--secondary-worker-boot-disk-type": "value", "--service-account": "value", "--single-node": "bool", "--subnet": "value", "--tags": "value", "--worker-accelerator": "value", "--worker-boot-disk-size": "value", "--worker-boot-disk-type": "value", "--worker-machine-type": "value", "--worker-min-cpu-platform": "value", "--zone": "value" } } }, "flags": {} } }, "flags": {} }, "datastore": { "commands": { "export": { "commands": {}, "flags": { "--async": "bool", "--kinds": "value", "--namespaces": "value", "--operation-labels": "value" } }, "import": { "commands": {}, "flags": { "--async": "bool", "--kinds": "value", "--namespaces": "value", "--operation-labels": "value" } }, "indexes": { "commands": { "cleanup": { "commands": {}, "flags": {} }, "create": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "operations": { "commands": { "cancel": { "commands": {}, "flags": {} }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "debug": { "commands": { "logpoints": { "commands": { "create": { "commands": {}, "flags": { "--condition": "value", "--log-level": [ "error", "info", "warning" ], "--target": "value", "--wait": "value" } }, "delete": { "commands": {}, "flags": { "--all-users": "bool", "--include-inactive": "bool", "--location": "value", "--target": "value" } }, "list": { "commands": {}, "flags": { "--all-users": "bool", "--filter": "value", "--include-inactive": "value", "--limit": "value", "--location": "value", "--sort-by": "value", "--target": "value" } } }, "flags": { "--target": "value" } }, "snapshots": { "commands": { "create": { "commands": {}, "flags": { "--condition": "value", "--expression": "value", "--target": "value", "--wait": "value" } }, "delete": { "commands": {}, "flags": { "--all-users": "bool", "--include-inactive": "bool", "--location": "value", "--target": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value", "--target": "value" } }, "list": { "commands": {}, "flags": { "--all-users": "bool", "--filter": "value", "--include-inactive": "value", "--limit": "value", "--location": "value", "--sort-by": "value", "--target": "value" } }, "wait": { "commands": {}, "flags": { "--all": "bool", "--all-users": "bool", "--filter": "value", "--limit": "value", "--location": "value", "--sort-by": "value", "--target": "value", "--timeout": "value" } } }, "flags": { "--target": "value" } }, "source": { "commands": { "gen-repo-info-file": { "commands": {}, "flags": { "--output-directory": "value", "--source-directory": "value" } }, "upload": { "commands": {}, "flags": { "--branch": "value", "--ignore-file": "value", "--source-context-directory": "value" } } }, "flags": {} }, "targets": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--include-inactive": "bool", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "deployment-manager": { "commands": { "deployments": { "commands": { "cancel-preview": { "commands": {}, "flags": { "--async": "bool", "--fingerprint": "value" } }, "create": { "commands": {}, "flags": { "--async": "bool", "--automatic-rollback-on-error": "bool", "--composite-type": "value", "--config": "value", "--create-policy": [ "acquire", "create", "create-or-acquire" ], "--description": "value", "--labels": "value", "--preview": "bool", "--properties": "value", "--template": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--delete-policy": [ "abandon", "delete" ] } }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--simple-list": "bool", "--sort-by": "value", "--uri": "bool" } }, "stop": { "commands": {}, "flags": { "--async": "bool", "--fingerprint": "value" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--composite-type": "value", "--config": "value", "--create-policy": [ "acquire", "create", "create-or-acquire" ], "--delete-policy": [ "abandon", "delete" ], "--description": "value", "--fingerprint": "value", "--manifest-id": "value", "--preview": "bool", "--properties": "value", "--remove-labels": "value", "--template": "value", "--update-labels": "value" } } }, "flags": {} }, "manifests": { "commands": { "describe": { "commands": {}, "flags": { "--deployment": "value" } }, "list": { "commands": {}, "flags": { "--deployment": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--simple-list": "bool", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--simple-list": "bool", "--sort-by": "value", "--uri": "bool" } }, "wait": { "commands": {}, "flags": {} } }, "flags": {} }, "resources": { "commands": { "describe": { "commands": {}, "flags": { "--deployment": "value" } }, "list": { "commands": {}, "flags": { "--deployment": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--simple-list": "bool", "--sort-by": "value", "--uri": "bool" } } }, "flags": { "--deployment": "value" } }, "type-providers": { "commands": { "create": { "commands": {}, "flags": { "--api-options-file": "value", "--async": "bool", "--description": "value", "--descriptor-url": "value", "--labels": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool" } }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--api-options-file": "value", "--async": "bool", "--description": "value", "--descriptor-url": "value", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "types": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--description": "value", "--labels": "value", "--status": [ "DEPRECATED", "EXPERIMENTAL", "SUPPORTED" ], "--template": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool" } }, "describe": { "commands": {}, "flags": { "--provider": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--provider": "value", "--provider-project": "value", "--sort-by": "value" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--description": "value", "--remove-labels": "value", "--status": [ "DEPRECATED", "EXPERIMENTAL", "SUPPORTED" ], "--update-labels": "value" } } }, "flags": {} } }, "flags": {} }, "dns": { "commands": { "dns-keys": { "commands": { "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--sort-by": "value", "--zone": "dynamic" } } }, "flags": {} }, "managed-zones": { "commands": { "create": { "commands": {}, "flags": { "--denial-of-existence": [ "nsec", "nsec3" ], "--description": "value", "--dns-name": "value", "--dnssec-state": [ "off", "on", "transfer" ], "--forwarding-targets": "value", "--ksk-algorithm": [ "ecdsap256sha256", "ecdsap384sha384", "rsasha1", "rsasha256", "rsasha512" ], "--ksk-key-length": "value", "--labels": "value", "--managed-reverse-lookup": "bool", "--networks": "value", "--private-forwarding-targets": "value", "--service-directory-namespace": "value", "--target-network": "value", "--target-project": "value", "--visibility": [ "private", "public" ], "--zsk-algorithm": [ "ecdsap256sha256", "ecdsap384sha384", "rsasha1", "rsasha256", "rsasha512" ], "--zsk-key-length": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--clear-labels": "bool", "--denial-of-existence": [ "nsec", "nsec3" ], "--description": "value", "--dnssec-state": [ "off", "on", "transfer" ], "--forwarding-targets": "value", "--ksk-algorithm": [ "ecdsap256sha256", "ecdsap384sha384", "rsasha1", "rsasha256", "rsasha512" ], "--ksk-key-length": "value", "--managed-reverse-lookup": "bool", "--networks": "value", "--private-forwarding-targets": "value", "--remove-labels": "value", "--target-network": "value", "--target-project": "value", "--update-labels": "value", "--zsk-algorithm": [ "ecdsap256sha256", "ecdsap384sha384", "rsasha1", "rsasha256", "rsasha512" ], "--zsk-key-length": "value" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--sort-by": "value", "--zones": "dynamic" } } }, "flags": {} }, "policies": { "commands": { "create": { "commands": {}, "flags": { "--alternative-name-servers": "value", "--description": "value", "--enable-inbound-forwarding": "bool", "--enable-logging": "bool", "--networks": "value", "--private-alternative-name-servers": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--alternative-name-servers": "value", "--description": "value", "--enable-inbound-forwarding": "bool", "--enable-logging": "bool", "--networks": "value", "--private-alternative-name-servers": "value" } } }, "flags": {} }, "project-info": { "commands": { "describe": { "commands": {}, "flags": {} } }, "flags": {} }, "record-sets": { "commands": { "changes": { "commands": { "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--sort-order": [ "ascending", "descending" ], "--uri": "bool", "--zone": "dynamic" } } }, "flags": {} }, "export": { "commands": {}, "flags": { "--zone": "dynamic", "--zone-file-format": "bool" } }, "import": { "commands": {}, "flags": { "--delete-all-existing": "bool", "--replace-origin-ns": "bool", "--zone": "dynamic", "--zone-file-format": "bool" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--name": "value", "--page-size": "value", "--sort-by": "value", "--type": "value", "--uri": "bool", "--zone": "dynamic" } }, "transaction": { "commands": { "abort": { "commands": {}, "flags": { "--transaction-file": "value", "--zone": "dynamic" } }, "add": { "commands": {}, "flags": { "--name": "value", "--transaction-file": "value", "--ttl": "value", "--type": "value", "--zone": "dynamic" } }, "describe": { "commands": {}, "flags": { "--transaction-file": "value", "--zone": "dynamic" } }, "execute": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--transaction-file": "value", "--uri": "bool", "--zone": "dynamic" } }, "remove": { "commands": {}, "flags": { "--name": "value", "--transaction-file": "value", "--ttl": "value", "--type": "value", "--zone": "dynamic" } }, "start": { "commands": {}, "flags": { "--transaction-file": "value", "--zone": "dynamic" } } }, "flags": { "--transaction-file": "value" } } }, "flags": {} } }, "flags": {} }, "domains": { "commands": { "list-user-verified": { "commands": {}, "flags": {} }, "verify": { "commands": {}, "flags": {} } }, "flags": {} }, "emulators": { "commands": { "bigtable": { "commands": { "env-init": { "commands": {}, "flags": {} }, "start": { "commands": {}, "flags": { "--host-port": "value" } } }, "flags": {} }, "datastore": { "commands": { "env-init": { "commands": {}, "flags": { "--data-dir": "value" } }, "env-unset": { "commands": {}, "flags": { "--data-dir": "value" } }, "start": { "commands": {}, "flags": { "--consistency": "value", "--data-dir": "value", "--host-port": "value", "--store-on-disk": "bool" } } }, "flags": { "--data-dir": "value" } }, "firestore": { "commands": { "start": { "commands": {}, "flags": { "--host-port": "value", "--rules": "value" } } }, "flags": {} }, "pubsub": { "commands": { "env-init": { "commands": {}, "flags": { "--data-dir": "value" } }, "start": { "commands": {}, "flags": { "--data-dir": "value", "--host-port": "value" } } }, "flags": { "--data-dir": "value" } } }, "flags": {} }, "endpoints": { "commands": { "configs": { "commands": { "describe": { "commands": {}, "flags": { "--service": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--service": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--service": "dynamic", "--sort-by": "value", "--uri": "bool" } }, "wait": { "commands": {}, "flags": {} } }, "flags": {} }, "services": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "check-iam-policy": { "commands": {}, "flags": {} }, "delete": { "commands": {}, "flags": { "--async": "bool" } }, "deploy": { "commands": {}, "flags": { "--async": "bool", "--force": "bool", "--validate-only": "bool" } }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "undelete": { "commands": {}, "flags": { "--async": "bool" } } }, "flags": {} } }, "flags": {} }, "error-reporting": { "commands": { "events": { "commands": { "delete": { "commands": {}, "flags": {} }, "report": { "commands": {}, "flags": { "--message": "value", "--message-file": "value", "--service": "value", "--service-version": "value" } } }, "flags": {} } }, "flags": {} }, "filestore": { "commands": { "instances": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--description": "value", "--file-share": "value", "--labels": "value", "--location": "value", "--network": "value", "--tier": [ "premium", "standard" ], "--zone": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--location": "value", "--zone": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value", "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool", "--zone": "value" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--clear-labels": "bool", "--description": "value", "--file-share": "value", "--location": "value", "--remove-labels": "value", "--update-labels": "value", "--zone": "value" } } }, "flags": {} }, "locations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": { "--location": "value", "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool", "--zone": "value" } } }, "flags": {} }, "regions": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} }, "zones": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} } }, "flags": {} }, "firebase": { "commands": { "test": { "commands": { "android": { "commands": { "locales": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} }, "models": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} }, "run": { "commands": {}, "flags": { "--additional-apks": "value", "--app": "value", "--app-package": "value", "--async": "bool", "--auto-google-login": "bool", "--client-details": "value", "--device": "value", "--device-ids": "value", "--directories-to-pull": "value", "--environment-variables": "value", "--filter": "value", "--limit": "value", "--locales": "value", "--network-profile": "value", "--num-flaky-test-attempts": "value", "--num-uniform-shards": "value", "--obb-files": "value", "--orientations": "dynamic", "--os-version-ids": "value", "--other-files": "value", "--page-size": "value", "--performance-metrics": "bool", "--record-video": "bool", "--results-bucket": "value", "--results-dir": "value", "--results-history-name": "value", "--robo-directives": "value", "--robo-script": "value", "--scenario-labels": "value", "--scenario-numbers": "value", "--sort-by": "value", "--test": "value", "--test-package": "value", "--test-runner-class": "value", "--test-targets": "value", "--test-targets-for-shard": "value", "--timeout": "value", "--type": [ "game-loop", "instrumentation", "robo" ], "--use-orchestrator": "bool" } }, "versions": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} } }, "flags": {} }, "ios": { "commands": { "locales": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} }, "models": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} }, "run": { "commands": {}, "flags": { "--app": "value", "--async": "bool", "--client-details": "value", "--device": "value", "--filter": "value", "--limit": "value", "--num-flaky-test-attempts": "value", "--page-size": "value", "--record-video": "bool", "--results-bucket": "value", "--results-dir": "value", "--results-history-name": "value", "--scenario-numbers": "value", "--sort-by": "value", "--test": "value", "--timeout": "value", "--type": [ "game-loop", "xctest" ], "--xcode-version": "value", "--xctestrun-file": "value" } }, "versions": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} } }, "flags": {} }, "network-profiles": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} } }, "flags": {} } }, "flags": {} }, "firestore": { "commands": { "export": { "commands": {}, "flags": { "--async": "bool", "--collection-ids": "value" } }, "import": { "commands": {}, "flags": { "--async": "bool", "--collection-ids": "value" } }, "indexes": { "commands": { "composite": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--collection-group": "value", "--field-config": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "fields": { "commands": { "describe": { "commands": {}, "flags": { "--collection-group": "value" } }, "list": { "commands": {}, "flags": { "--collection-group": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--clear-exemption": "bool", "--collection-group": "value", "--disable-indexes": "bool", "--index": "value" } } }, "flags": {} } }, "flags": {} }, "operations": { "commands": { "cancel": { "commands": {}, "flags": {} }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "functions": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--region": "dynamic", "--role": "value" } }, "call": { "commands": {}, "flags": { "--data": "value", "--region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "deploy": { "commands": {}, "flags": { "--allow-unauthenticated": "bool", "--clear-env-vars": "bool", "--clear-labels": "bool", "--clear-max-instances": "bool", "--clear-vpc-connector": "bool", "--egress-settings": [ "all", "private-ranges-only" ], "--entry-point": "value", "--env-vars-file": "value", "--ignore-file": "value", "--ingress-settings": [ "all", "internal-only" ], "--max-instances": "value", "--memory": "value", "--region": "dynamic", "--remove-env-vars": "value", "--remove-labels": "value", "--retry": "bool", "--runtime": "value", "--service-account": "value", "--set-env-vars": "value", "--source": "value", "--stage-bucket": "value", "--timeout": "value", "--trigger-bucket": "value", "--trigger-event": "value", "--trigger-http": "bool", "--trigger-resource": "value", "--trigger-topic": "value", "--update-env-vars": "value", "--update-labels": "value", "--vpc-connector": "value" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "event-types": { "commands": { "list": { "commands": {}, "flags": {} } }, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "logs": { "commands": { "read": { "commands": {}, "flags": { "--end-time": "value", "--execution-id": "value", "--filter": "value", "--limit": "value", "--min-log-level": [ "debug", "error", "info" ], "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--start-time": "value", "--uri": "bool" } } }, "flags": {} }, "regions": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--region": "dynamic", "--role": "value" } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "dynamic" } } }, "flags": {} }, "game": { "commands": { "locations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": { "--location": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "servers": { "commands": { "clusters": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--dry-run": "bool", "--gke-cluster": "value", "--labels": "value", "--location": "value", "--namespace": "value", "--preview-time": "value", "--realm": "value" } }, "delete": { "commands": {}, "flags": { "--dry-run": "bool", "--location": "value", "--preview-time": "value", "--realm": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value", "--realm": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--realm": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--dry-run": "bool", "--location": "value", "--preview-time": "value", "--realm": "value", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "configs": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--deployment": "value", "--description": "value", "--fleet-configs-file": "value", "--labels": "value", "--location": "value", "--scaling-configs-file": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--deployment": "value", "--location": "value" } }, "describe": { "commands": {}, "flags": { "--deployment": "value", "--location": "value" } }, "list": { "commands": {}, "flags": { "--deployment": "value", "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "deployments": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--description": "value", "--labels": "value", "--location": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "describe-rollout": { "commands": {}, "flags": { "--location": "value" } }, "fetch-state": { "commands": {}, "flags": { "--location": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--clear-labels": "bool", "--location": "value", "--remove-labels": "value", "--update-labels": "value" } }, "update-rollout": { "commands": {}, "flags": { "--clear-config-overrides": "bool", "--clear-default-config": "bool", "--config-overrides-file": "value", "--default-config": "value", "--dry-run": "bool", "--location": "value", "--preview-time": "value" } } }, "flags": {} }, "realms": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--description": "value", "--labels": "value", "--location": "value", "--time-zone": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--dry-run": "bool", "--location": "value", "--preview-time": "value", "--remove-labels": "value", "--time-zone": "value", "--update-labels": "value" } } }, "flags": {} } }, "flags": {} } }, "flags": {} }, "healthcare": { "commands": { "datasets": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--async": "bool", "--location": "value", "--time-zone": "value" } }, "deidentify": { "commands": {}, "flags": { "--async": "bool", "--default-fhir-config": "bool", "--destination-dataset": "value", "--dicom-filter-tags": "value", "--location": "value", "--text-redaction-mode": [ "all" ] } }, "delete": { "commands": {}, "flags": { "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--location": "value" } }, "update": { "commands": {}, "flags": { "--location": "value", "--time-zone": "value" } } }, "flags": {} }, "dicom-stores": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--dataset": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--dataset": "value", "--location": "value", "--pubsub-topic": "value" } }, "delete": { "commands": {}, "flags": { "--dataset": "value", "--location": "value" } }, "describe": { "commands": {}, "flags": { "--dataset": "value", "--location": "value" } }, "export": { "commands": { "bq": { "commands": {}, "flags": { "--async": "bool", "--bq-table": "value", "--dataset": "value", "--location": "value", "--overwrite-table": "bool" } }, "gcs": { "commands": {}, "flags": { "--async": "bool", "--dataset": "value", "--gcs-uri-prefix": "value", "--location": "value", "--mime-type": "value" } } }, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--dataset": "value", "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "import": { "commands": { "gcs": { "commands": {}, "flags": { "--async": "bool", "--dataset": "value", "--gcs-uri": "value", "--location": "value" } } }, "flags": {} }, "list": { "commands": {}, "flags": { "--dataset": "value", "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--dataset": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--dataset": "value", "--location": "value" } }, "update": { "commands": {}, "flags": { "--dataset": "value", "--location": "value", "--pubsub-topic": "value" } } }, "flags": {} }, "fhir-stores": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--dataset": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--dataset": "value", "--disable-referential-integrity": "bool", "--disable-resource-versioning": "bool", "--enable-update-create": "bool", "--location": "value", "--pubsub-topic": "value" } }, "delete": { "commands": {}, "flags": { "--dataset": "value", "--location": "value" } }, "describe": { "commands": {}, "flags": { "--dataset": "value", "--location": "value" } }, "export": { "commands": { "bq": { "commands": {}, "flags": { "--async": "bool", "--bq-dataset": "value", "--dataset": "value", "--location": "value", "--recursive-depth": "value", "--schema-type": [ "analytics", "lossless" ] } }, "gcs": { "commands": {}, "flags": { "--async": "bool", "--dataset": "value", "--gcs-uri": "value", "--location": "value" } } }, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--dataset": "value", "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "import": { "commands": { "gcs": { "commands": {}, "flags": { "--async": "bool", "--content-structure": [ "bundle", "bundle-pretty", "resource", "resource-pretty" ], "--dataset": "value", "--gcs-uri": "value", "--location": "value" } } }, "flags": {} }, "list": { "commands": {}, "flags": { "--dataset": "value", "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--dataset": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--dataset": "value", "--location": "value" } }, "update": { "commands": {}, "flags": { "--dataset": "value", "--enable-update-create": "bool", "--location": "value", "--pubsub-topic": "value" } } }, "flags": {} }, "hl7v2-stores": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--dataset": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--dataset": "value", "--location": "value", "--pubsub-topic": "value" } }, "delete": { "commands": {}, "flags": { "--dataset": "value", "--location": "value" } }, "describe": { "commands": {}, "flags": { "--dataset": "value", "--location": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--dataset": "value", "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--dataset": "value", "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--dataset": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--dataset": "value", "--location": "value" } }, "update": { "commands": {}, "flags": { "--dataset": "value", "--location": "value", "--pubsub-topic": "value" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": { "--dataset": "value", "--location": "value" } }, "list": { "commands": {}, "flags": { "--dataset": "value", "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "help": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "iam": { "commands": { "list-grantable-roles": { "commands": {}, "flags": { "--filter": "value", "--page-size": "value" } }, "list-testable-permissions": { "commands": {}, "flags": { "--filter": "value" } }, "roles": { "commands": { "copy": { "commands": {}, "flags": { "--dest-organization": "value", "--dest-project": "value", "--destination": "value", "--source": "value", "--source-organization": "value", "--source-project": "value" } }, "create": { "commands": {}, "flags": { "--description": "value", "--file": "value", "--organization": "value", "--permissions": "value", "--stage": "value", "--title": "value" } }, "delete": { "commands": {}, "flags": { "--organization": "value" } }, "describe": { "commands": {}, "flags": { "--organization": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--organization": "value", "--show-deleted": "bool", "--sort-by": "value" } }, "undelete": { "commands": {}, "flags": { "--organization": "value" } }, "update": { "commands": {}, "flags": { "--add-permissions": "value", "--description": "value", "--file": "value", "--organization": "value", "--permissions": "value", "--remove-permissions": "value", "--stage": "value", "--title": "value" } } }, "flags": {} }, "service-accounts": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--description": "value", "--display-name": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "disable": { "commands": {}, "flags": {} }, "enable": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "keys": { "commands": { "create": { "commands": {}, "flags": { "--iam-account": "value", "--key-file-type": [ "json", "p12" ] } }, "delete": { "commands": {}, "flags": { "--iam-account": "value" } }, "get-public-key": { "commands": {}, "flags": { "--iam-account": "value", "--output-file": "value", "--type": [ "pem", "raw" ] } }, "list": { "commands": {}, "flags": { "--created-before": "value", "--filter": "value", "--iam-account": "value", "--limit": "value", "--managed-by": [ "any", "system", "user" ], "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "upload": { "commands": {}, "flags": { "--iam-account": "dynamic" } } }, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "sign-blob": { "commands": {}, "flags": { "--iam-account": "value" } }, "sign-jwt": { "commands": {}, "flags": { "--iam-account": "value" } }, "undelete": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--description": "value", "--display-name": "value" } } }, "flags": {} } }, "flags": {} }, "iap": { "commands": { "settings": { "commands": { "get": { "commands": {}, "flags": { "--folder": "value", "--organization": "value", "--resource-type": [ "app-engine", "compute", "folder", "iap_web", "organization" ], "--service": "value" } }, "set": { "commands": {}, "flags": { "--folder": "value", "--organization": "value", "--resource-type": [ "app-engine", "compute", "folder", "iap_web", "organization" ], "--service": "value" } } }, "flags": {} }, "web": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--resource-type": [ "app-engine", "backend-services" ], "--role": "value", "--service": "value" } }, "disable": { "commands": {}, "flags": { "--resource-type": [ "app-engine", "backend-services" ], "--service": "value" } }, "enable": { "commands": {}, "flags": { "--oauth2-client-id": "value", "--oauth2-client-secret": "value", "--resource-type": [ "app-engine", "backend-services" ], "--service": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--resource-type": [ "app-engine", "backend-services" ], "--service": "value", "--sort-by": "value" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--resource-type": [ "app-engine", "backend-services" ], "--role": "value", "--service": "value" } }, "set-iam-policy": { "commands": {}, "flags": { "--resource-type": [ "app-engine", "backend-services" ], "--service": "value" } } }, "flags": {} } }, "flags": {} }, "identity": { "commands": { "groups": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--display-name": "value", "--dynamic-user-query": "value", "--labels": "value", "--organization": "value", "--with-initial-owner": [ "empty", "initial-group-config-unspecified", "with-initial-owner" ] } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "memberships": { "commands": { "add": { "commands": {}, "flags": { "--group-email": "value", "--member-email": "value", "--organization": "value", "--roles": "value" } }, "delete": { "commands": {}, "flags": { "--group-email": "value", "--member-email": "value" } }, "describe": { "commands": {}, "flags": { "--group-email": "value", "--member-email": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--group-email": "value", "--limit": "value", "--page-size": "value", "--page-token": "value", "--sort-by": "value", "--view": [ "basic", "full" ] } }, "modify-membership-roles": { "commands": {}, "flags": { "--add-roles": "value", "--group-email": "value", "--member-email": "value", "--remove-roles": "value" } } }, "flags": {} }, "preview": { "commands": {}, "flags": { "--custom-field-mask": "value", "--customer": "value", "--max-results": "value", "--page-token": "value", "--projection": [ "basic", "custom", "full" ], "--query": "value", "--view-type": [ "admin-view", "domain-public" ] } }, "search": { "commands": {}, "flags": { "--labels": "value", "--organization": "value", "--page-size": "value", "--page-token": "value", "--view": [ "basic", "full" ] } }, "update": { "commands": {}, "flags": { "--clear-description": "bool", "--clear-display-name": "bool", "--description": "value", "--display-name": "value" } } }, "flags": {} } }, "flags": {} }, "init": { "commands": {}, "flags": { "--console-only": "bool", "--skip-diagnostics": "bool" } }, "interactive": { "commands": {}, "flags": { "--context": "value" } }, "iot": { "commands": { "devices": { "commands": { "commands": { "commands": { "send": { "commands": {}, "flags": { "--command-data": "value", "--command-file": "value", "--device": "dynamic", "--region": "value", "--registry": "dynamic", "--subfolder": "value" } } }, "flags": {} }, "configs": { "commands": { "describe": { "commands": {}, "flags": { "--device": "dynamic", "--region": "value", "--registry": "dynamic" } }, "get-value": { "commands": {}, "flags": { "--device": "dynamic", "--region": "value", "--registry": "dynamic" } }, "list": { "commands": {}, "flags": { "--device": "dynamic", "--filter": "value", "--limit": "value", "--region": "value", "--registry": "dynamic", "--sort-by": "value" } }, "update": { "commands": {}, "flags": { "--config-data": "value", "--config-file": "value", "--device": "dynamic", "--region": "value", "--registry": "dynamic", "--version-to-update": "value" } } }, "flags": {} }, "create": { "commands": {}, "flags": { "--auth-method": [ "association-and-device-auth-token", "association-only", "device-auth-token-only" ], "--blocked": "bool", "--device-type": [ "gateway", "non-gateway" ], "--log-level": [ "debug", "error", "info", "none" ], "--metadata": "value", "--metadata-from-file": "value", "--public-key": "value", "--region": "value", "--registry": "dynamic" } }, "credentials": { "commands": { "clear": { "commands": {}, "flags": { "--device": "dynamic", "--region": "value", "--registry": "dynamic" } }, "create": { "commands": {}, "flags": { "--device": "dynamic", "--expiration-time": "value", "--path": "value", "--region": "value", "--registry": "dynamic", "--type": [ "es256", "es256-pem", "es256-x509-pem", "rs256", "rsa-pem", "rsa-x509-pem" ] } }, "delete": { "commands": {}, "flags": { "--device": "dynamic", "--region": "value", "--registry": "dynamic" } }, "describe": { "commands": {}, "flags": { "--device": "dynamic", "--region": "value", "--registry": "dynamic" } }, "list": { "commands": {}, "flags": { "--device": "dynamic", "--filter": "value", "--limit": "value", "--region": "value", "--registry": "dynamic", "--sort-by": "value" } }, "update": { "commands": {}, "flags": { "--device": "dynamic", "--expiration-time": "value", "--region": "value", "--registry": "dynamic" } } }, "flags": {} }, "delete": { "commands": {}, "flags": { "--region": "value", "--registry": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "value", "--registry": "dynamic" } }, "gateways": { "commands": { "bind": { "commands": {}, "flags": { "--device": "dynamic", "--device-region": "value", "--device-registry": "dynamic", "--gateway": "dynamic", "--gateway-region": "value", "--gateway-registry": "dynamic" } }, "list-bound-devices": { "commands": {}, "flags": { "--filter": "value", "--gateway": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--registry": "dynamic", "--sort-by": "value" } }, "unbind": { "commands": {}, "flags": { "--device": "dynamic", "--device-region": "value", "--device-registry": "dynamic", "--gateway": "dynamic", "--gateway-region": "value", "--gateway-registry": "dynamic" } } }, "flags": {} }, "list": { "commands": {}, "flags": { "--device-ids": "value", "--device-num-ids": "value", "--device-type": [ "gateway", "non-gateway" ], "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--registry": "dynamic", "--sort-by": "value", "--uri": "bool" } }, "states": { "commands": { "list": { "commands": {}, "flags": { "--device": "dynamic", "--filter": "value", "--limit": "value", "--region": "value", "--registry": "dynamic", "--sort-by": "value" } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--auth-method": [ "association-and-device-auth-token", "association-only", "device-auth-token-only" ], "--blocked": "bool", "--log-level": [ "debug", "error", "info", "none" ], "--metadata": "value", "--metadata-from-file": "value", "--region": "value", "--registry": "dynamic" } } }, "flags": {} }, "registries": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--region": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--enable-http-config": "bool", "--enable-mqtt-config": "bool", "--event-notification-config": "value", "--log-level": [ "debug", "error", "info", "none" ], "--public-key-path": "value", "--region": "value", "--state-pubsub-topic": "value" } }, "credentials": { "commands": { "clear": { "commands": {}, "flags": { "--region": "value", "--registry": "dynamic" } }, "create": { "commands": {}, "flags": { "--path": "value", "--region": "value", "--registry": "dynamic" } }, "delete": { "commands": {}, "flags": { "--region": "value", "--registry": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "value", "--registry": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--region": "value", "--registry": "dynamic", "--sort-by": "value" } } }, "flags": {} }, "delete": { "commands": {}, "flags": { "--region": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--region": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "value" } }, "update": { "commands": {}, "flags": { "--enable-http-config": "bool", "--enable-mqtt-config": "bool", "--event-notification-config": "value", "--log-level": [ "debug", "error", "info", "none" ], "--region": "value", "--state-pubsub-topic": "value" } } }, "flags": {} } }, "flags": {} }, "kms": { "commands": { "asymmetric-decrypt": { "commands": {}, "flags": { "--ciphertext-file": "value", "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic", "--plaintext-file": "value" } }, "asymmetric-sign": { "commands": {}, "flags": { "--digest-algorithm": [ "sha256", "sha384", "sha512" ], "--input-file": "value", "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic", "--signature-file": "value" } }, "decrypt": { "commands": {}, "flags": { "--additional-authenticated-data-file": "value", "--ciphertext-file": "value", "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic", "--plaintext-file": "value" } }, "encrypt": { "commands": {}, "flags": { "--additional-authenticated-data-file": "value", "--ciphertext-file": "value", "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic", "--plaintext-file": "value" } }, "import-jobs": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--keyring": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--import-method": [ "rsa-oaep-3072-sha1-aes-256", "rsa-oaep-4096-sha1-aes-256" ], "--keyring": "dynamic", "--location": "dynamic", "--protection-level": [ "hsm", "software" ] } }, "describe": { "commands": {}, "flags": { "--attestation-file": "value", "--keyring": "dynamic", "--location": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--keyring": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--keyring": "dynamic", "--limit": "value", "--location": "dynamic", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--keyring": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--keyring": "value", "--location": "value" } } }, "flags": {} }, "keyrings": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--location": "dynamic" } }, "describe": { "commands": {}, "flags": { "--location": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "dynamic", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "dynamic", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--location": "dynamic" } } }, "flags": {} }, "keys": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--keyring": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--default-algorithm": [ "ec-sign-p256-sha256", "ec-sign-p384-sha384", "external-symmetric-encryption", "google-symmetric-encryption", "rsa-decrypt-oaep-2048-sha256", "rsa-decrypt-oaep-3072-sha256", "rsa-decrypt-oaep-4096-sha256", "rsa-decrypt-oaep-4096-sha512", "rsa-sign-pkcs1-2048-sha256", "rsa-sign-pkcs1-3072-sha256", "rsa-sign-pkcs1-4096-sha256", "rsa-sign-pkcs1-4096-sha512", "rsa-sign-pss-2048-sha256", "rsa-sign-pss-3072-sha256", "rsa-sign-pss-4096-sha256", "rsa-sign-pss-4096-sha512" ], "--keyring": "dynamic", "--labels": "value", "--location": "dynamic", "--next-rotation-time": "value", "--protection-level": [ "external", "hsm", "software" ], "--purpose": [ "asymmetric-encryption", "asymmetric-signing", "encryption" ], "--rotation-period": "value", "--skip-initial-version-creation": "bool" } }, "describe": { "commands": {}, "flags": { "--keyring": "dynamic", "--location": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--keyring": "dynamic", "--limit": "value", "--location": "dynamic", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--keyring": "dynamic", "--limit": "value", "--location": "dynamic", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--keyring": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "remove-rotation-schedule": { "commands": {}, "flags": { "--keyring": "dynamic", "--location": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--keyring": "dynamic", "--location": "dynamic" } }, "set-primary-version": { "commands": {}, "flags": { "--keyring": "dynamic", "--location": "dynamic" } }, "set-rotation-schedule": { "commands": {}, "flags": { "--keyring": "dynamic", "--location": "dynamic", "--next-rotation-time": "value", "--rotation-period": "value" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--default-algorithm": [ "ec-sign-p256-sha256", "ec-sign-p384-sha384", "external-symmetric-encryption", "google-symmetric-encryption", "rsa-decrypt-oaep-2048-sha256", "rsa-decrypt-oaep-3072-sha256", "rsa-decrypt-oaep-4096-sha256", "rsa-decrypt-oaep-4096-sha512", "rsa-sign-pkcs1-2048-sha256", "rsa-sign-pkcs1-3072-sha256", "rsa-sign-pkcs1-4096-sha256", "rsa-sign-pkcs1-4096-sha512", "rsa-sign-pss-2048-sha256", "rsa-sign-pss-3072-sha256", "rsa-sign-pss-4096-sha256", "rsa-sign-pss-4096-sha512" ], "--keyring": "dynamic", "--location": "dynamic", "--next-rotation-time": "value", "--primary-version": "dynamic", "--remove-labels": "value", "--remove-rotation-schedule": "bool", "--rotation-period": "value", "--update-labels": "value" } }, "versions": { "commands": { "create": { "commands": {}, "flags": { "--external-key-uri": "value", "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic", "--primary": "bool" } }, "describe": { "commands": {}, "flags": { "--attestation-file": "value", "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic" } }, "destroy": { "commands": {}, "flags": { "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic" } }, "disable": { "commands": {}, "flags": { "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic" } }, "enable": { "commands": {}, "flags": { "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic" } }, "get-public-key": { "commands": {}, "flags": { "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic", "--output-file": "value" } }, "import": { "commands": {}, "flags": { "--algorithm": [ "ec-sign-p256-sha256", "ec-sign-p384-sha384", "google-symmetric-encryption", "rsa-decrypt-oaep-2048-sha256", "rsa-decrypt-oaep-3072-sha256", "rsa-decrypt-oaep-4096-sha256", "rsa-decrypt-oaep-4096-sha512", "rsa-sign-pkcs1-2048-sha256", "rsa-sign-pkcs1-3072-sha256", "rsa-sign-pkcs1-4096-sha256", "rsa-sign-pkcs1-4096-sha512", "rsa-sign-pss-2048-sha256", "rsa-sign-pss-3072-sha256", "rsa-sign-pss-4096-sha256", "rsa-sign-pss-4096-sha512" ], "--import-job": "dynamic", "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic", "--public-key-file": "value", "--rsa-aes-wrapped-key-file": "value", "--target-key-file": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--key": "dynamic", "--keyring": "dynamic", "--limit": "value", "--location": "dynamic", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "restore": { "commands": {}, "flags": { "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic" } }, "update": { "commands": {}, "flags": { "--external-key-uri": "value", "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic", "--state": "value" } } }, "flags": {} } }, "flags": {} }, "locations": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "lifesciences": { "commands": { "locations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "operations": { "commands": { "cancel": { "commands": {}, "flags": { "--location": "dynamic" } }, "describe": { "commands": {}, "flags": { "--location": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "dynamic", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "wait": { "commands": {}, "flags": { "--location": "dynamic" } } }, "flags": {} }, "pipelines": { "commands": { "run": { "commands": {}, "flags": { "--boot-disk-size": "value", "--command-line": "value", "--disk-size": "value", "--docker-image": "value", "--env-vars": "value", "--inputs": "value", "--inputs-from-file": "value", "--labels": "value", "--location": "dynamic", "--logging": "value", "--machine-type": "value", "--network": "value", "--outputs": "value", "--pipeline-file": "value", "--preemptible": "bool", "--regions": "value", "--service-account-email": "value", "--service-account-scopes": "value", "--subnetwork": "value", "--zones": "value" } } }, "flags": {} } }, "flags": {} }, "logging": { "commands": { "buckets": { "commands": { "describe": { "commands": {}, "flags": { "--billing-account": "value", "--folder": "value", "--location": "value", "--organization": "dynamic" } }, "list": { "commands": {}, "flags": { "--billing-account": "value", "--filter": "value", "--folder": "value", "--limit": "value", "--location": "value", "--organization": "dynamic", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--description": "value", "--location": "value", "--retention-days": "value" } } }, "flags": {} }, "logs": { "commands": { "delete": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--sort-by": "value" } } }, "flags": {} }, "metrics": { "commands": { "create": { "commands": {}, "flags": { "--config-from-file": "value", "--description": "value", "--log-filter": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--sort-by": "value" } }, "update": { "commands": {}, "flags": { "--config-from-file": "value", "--description": "value", "--log-filter": "value" } } }, "flags": {} }, "read": { "commands": {}, "flags": { "--billing-account": "value", "--folder": "value", "--freshness": "value", "--limit": "value", "--order": [ "asc", "desc" ], "--organization": "dynamic" } }, "resource-descriptors": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--sort-by": "value" } } }, "flags": {} }, "sinks": { "commands": { "create": { "commands": {}, "flags": { "--billing-account": "value", "--folder": "value", "--include-children": "bool", "--log-filter": "value", "--organization": "dynamic" } }, "delete": { "commands": {}, "flags": { "--billing-account": "value", "--folder": "value", "--organization": "dynamic" } }, "describe": { "commands": {}, "flags": { "--billing-account": "value", "--folder": "value", "--organization": "dynamic" } }, "list": { "commands": {}, "flags": { "--billing-account": "value", "--filter": "value", "--folder": "value", "--limit": "value", "--organization": "dynamic", "--sort-by": "value" } }, "update": { "commands": {}, "flags": { "--billing-account": "value", "--folder": "value", "--log-filter": "value", "--organization": "dynamic" } } }, "flags": {} }, "write": { "commands": {}, "flags": { "--billing-account": "value", "--folder": "value", "--organization": "dynamic", "--payload-type": [ "json", "text" ], "--severity": [ "ALERT", "CRITICAL", "DEBUG", "DEFAULT", "EMERGENCY", "ERROR", "INFO", "NOTICE", "WARNING" ] } } }, "flags": {} }, "memcache": { "commands": { "instances": { "commands": { "apply-parameters": { "commands": {}, "flags": { "--apply-all": "bool", "--async": "bool", "--node-ids": "value", "--region": "value" } }, "create": { "commands": {}, "flags": { "--async": "bool", "--authorized-network": "value", "--display-name": "value", "--labels": "value", "--memcached-version": [ "1.5" ], "--node-count": "value", "--node-cpu": "value", "--node-memory": "value", "--parameters": "value", "--region": "value", "--zones": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--region": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--display-name": "value", "--labels": "value", "--node-count": "value", "--parameters": "value", "--region": "value" } } }, "flags": {} }, "operations": { "commands": { "delete": { "commands": {}, "flags": { "--region": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "regions": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "ml": { "commands": { "language": { "commands": { "analyze-entities": { "commands": {}, "flags": { "--content": "value", "--content-file": "value", "--content-type": [ "html", "plain-text" ], "--encoding-type": [ "none", "utf16", "utf32", "utf8" ], "--language": "value" } }, "analyze-entity-sentiment": { "commands": {}, "flags": { "--content": "value", "--content-file": "value", "--content-type": [ "html", "plain-text" ], "--encoding-type": [ "none", "utf16", "utf32", "utf8" ], "--language": "value" } }, "analyze-sentiment": { "commands": {}, "flags": { "--content": "value", "--content-file": "value", "--content-type": [ "html", "plain-text" ], "--encoding-type": [ "none", "utf16", "utf32", "utf8" ], "--language": "value" } }, "analyze-syntax": { "commands": {}, "flags": { "--content": "value", "--content-file": "value", "--content-type": [ "html", "plain-text" ], "--encoding-type": [ "none", "utf16", "utf32", "utf8" ], "--language": "value" } }, "classify-text": { "commands": {}, "flags": { "--content": "value", "--content-file": "value", "--content-type": [ "html", "plain-text" ], "--language": "value" } } }, "flags": {} }, "speech": { "commands": { "operations": { "commands": { "describe": { "commands": {}, "flags": {} }, "wait": { "commands": {}, "flags": {} } }, "flags": {} }, "recognize": { "commands": {}, "flags": { "--additional-language-codes": "value", "--diarization-speaker-count": "value", "--enable-speaker-diarization": "bool", "--encoding": [ "amr", "amr-wb", "encoding-unspecified", "flac", "linear16", "mp3", "mulaw", "ogg-opus", "speex-with-header-byte" ], "--filter-profanity": "bool", "--hints": "value", "--include-word-confidence": "bool", "--include-word-time-offsets": "bool", "--language-code": "value", "--max-alternatives": "value", "--sample-rate": "value" } }, "recognize-long-running": { "commands": {}, "flags": { "--additional-language-codes": "value", "--async": "bool", "--diarization-speaker-count": "value", "--enable-speaker-diarization": "bool", "--encoding": [ "amr", "amr-wb", "encoding-unspecified", "flac", "linear16", "mp3", "mulaw", "ogg-opus", "speex-with-header-byte" ], "--filter-profanity": "bool", "--hints": "value", "--include-word-confidence": "bool", "--include-word-time-offsets": "bool", "--language-code": "value", "--max-alternatives": "value", "--sample-rate": "value" } } }, "flags": {} }, "translate": { "commands": { "batch-translate-text": { "commands": {}, "flags": { "--destination": "value", "--glossaries": "value", "--models": "value", "--source": "value", "--source-language": "value", "--target-language-codes": "value", "--zone": "value" } }, "detect-language": { "commands": {}, "flags": { "--content": "value", "--content-file": "value", "--mime-type": "value", "--model": "value", "--zone": "value" } }, "get-supported-languages": { "commands": {}, "flags": { "--display-language-code": "value", "--model": "value", "--zone": "value" } }, "translate-text": { "commands": {}, "flags": { "--content": "value", "--content-file": "value", "--glossary-config": "value", "--mime-type": "value", "--model": "value", "--source-language": "value", "--target-language": "value", "--zone": "value" } } }, "flags": {} }, "video": { "commands": { "detect-explicit-content": { "commands": {}, "flags": { "--async": "bool", "--output-uri": "value", "--region": [ "asia-east1", "europe-west1", "us-east1", "us-west1" ], "--segments": "value" } }, "detect-labels": { "commands": {}, "flags": { "--async": "bool", "--detection-mode": [ "frame", "shot", "shot-and-frame" ], "--output-uri": "value", "--region": [ "asia-east1", "europe-west1", "us-east1", "us-west1" ], "--segments": "value" } }, "detect-object": { "commands": {}, "flags": { "--async": "bool", "--output-uri": "value", "--region": [ "asia-east1", "europe-west1", "us-east1", "us-west1" ], "--segments": "value" } }, "detect-shot-changes": { "commands": {}, "flags": { "--async": "bool", "--output-uri": "value", "--region": [ "asia-east1", "europe-west1", "us-east1", "us-west1" ], "--segments": "value" } }, "detect-text": { "commands": {}, "flags": { "--async": "bool", "--language-hints": "value", "--output-uri": "value", "--region": [ "asia-east1", "europe-west1", "us-east1", "us-west1" ], "--segments": "value" } }, "operations": { "commands": { "describe": { "commands": {}, "flags": { "--location": "value" } }, "wait": { "commands": {}, "flags": { "--location": "value" } } }, "flags": {} }, "transcribe-speech": { "commands": {}, "flags": { "--async": "bool", "--audio-tracks": "value", "--diarization-speaker-count": "value", "--enable-automatic-punctuation": "bool", "--enable-speaker-diarization": "bool", "--enable-word-confidence": "bool", "--filter-profanity": "bool", "--hints": "value", "--language-code": "value", "--max-alternatives": "value", "--output-uri": "value", "--region": [ "asia-east1", "europe-west1", "us-east1", "us-west1" ], "--segments": "value" } } }, "flags": {} }, "vision": { "commands": { "detect-document": { "commands": {}, "flags": { "--language-hints": "value", "--model-version": [ "builtin/latest", "builtin/stable" ] } }, "detect-faces": { "commands": {}, "flags": { "--max-results": "value", "--model-version": [ "builtin/latest", "builtin/stable" ] } }, "detect-image-properties": { "commands": {}, "flags": { "--model-version": [ "builtin/latest", "builtin/stable" ] } }, "detect-labels": { "commands": {}, "flags": { "--max-results": "value", "--model-version": [ "builtin/latest", "builtin/stable" ] } }, "detect-landmarks": { "commands": {}, "flags": { "--max-results": "value", "--model-version": [ "builtin/latest", "builtin/stable" ] } }, "detect-logos": { "commands": {}, "flags": { "--max-results": "value", "--model-version": [ "builtin/latest", "builtin/stable" ] } }, "detect-objects": { "commands": {}, "flags": { "--model-version": [ "builtin/latest", "builtin/stable" ] } }, "detect-product": { "commands": {}, "flags": { "--bounding-polygon": "value", "--category": "value", "--filter": "value", "--max-results": "value", "--product-set": "value", "--product-set-location": "value" } }, "detect-safe-search": { "commands": {}, "flags": { "--model-version": [ "builtin/latest", "builtin/stable" ] } }, "detect-text": { "commands": {}, "flags": { "--language-hints": "value", "--model-version": [ "builtin/latest", "builtin/stable" ] } }, "detect-text-pdf": { "commands": {}, "flags": { "--batch-size": "value", "--model-version": [ "builtin/latest", "builtin/stable" ] } }, "detect-text-tiff": { "commands": {}, "flags": { "--batch-size": "value", "--model-version": [ "builtin/latest", "builtin/stable" ] } }, "detect-web": { "commands": {}, "flags": { "--include-geo-results": "bool", "--max-results": "value", "--model-version": [ "builtin/latest", "builtin/stable" ] } }, "operations": { "commands": { "describe": { "commands": {}, "flags": {} } }, "flags": {} }, "product-search": { "commands": { "images": { "commands": { "create": { "commands": {}, "flags": { "--bounding-polygon": "value", "--location": "value", "--product": "value", "--storage-location": "value" } }, "delete": { "commands": {}, "flags": { "--location": "value", "--product": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value", "--product": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--product": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "product-sets": { "commands": { "add-product": { "commands": {}, "flags": { "--location": "value", "--product": "value" } }, "create": { "commands": {}, "flags": { "--display-name": "value", "--location": "value" } }, "delete": { "commands": {}, "flags": { "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "import": { "commands": {}, "flags": { "--async": "bool", "--location": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "list-products": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--product-set": "value", "--sort-by": "value" } }, "remove-product": { "commands": {}, "flags": { "--location": "value", "--product": "value" } }, "update": { "commands": {}, "flags": { "--display-name": "value", "--location": "value" } } }, "flags": {} }, "products": { "commands": { "create": { "commands": {}, "flags": { "--category": [ "apparel", "homegoods", "toys" ], "--description": "value", "--display-name": "value", "--location": "value", "--product-labels": "value" } }, "delete": { "commands": {}, "flags": { "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--add-product-labels": "value", "--clear-product-labels": "bool", "--description": "value", "--display-name": "value", "--location": "value", "--remove-product-labels": "value" } } }, "flags": {} } }, "flags": {} }, "suggest-crop": { "commands": {}, "flags": { "--aspect-ratios": "value", "--model-version": [ "builtin/latest", "builtin/stable" ] } } }, "flags": {} } }, "flags": {} }, "ml-engine": { "commands": { "explain": { "commands": {}, "flags": { "--json-instances": "value", "--model": "value", "--text-instances": "value" } }, "jobs": { "commands": { "cancel": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": { "--summarize": "bool" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "stream-logs": { "commands": {}, "flags": { "--allow-multiline-logs": "bool", "--polling-interval": "value", "--task-name": "value" } }, "submit": { "commands": { "prediction": { "commands": {}, "flags": { "--batch-size": "value", "--data-format": [ "text", "tf-record", "tf-record-gzip" ], "--input-paths": "value", "--labels": "value", "--max-worker-count": "value", "--model": "value", "--model-dir": "value", "--output-path": "value", "--region": "value", "--runtime-version": "value", "--signature-name": "value" } }, "training": { "commands": {}, "flags": { "--async": "bool", "--config": "value", "--job-dir": "value", "--labels": "value", "--master-accelerator": "value", "--master-image-uri": "value", "--master-machine-type": "value", "--module-name": "value", "--package-path": "value", "--packages": "value", "--parameter-server-accelerator": "value", "--parameter-server-count": "value", "--parameter-server-image-uri": "value", "--parameter-server-machine-type": "value", "--python-version": "value", "--region": "dynamic", "--runtime-version": "value", "--scale-tier": [ "basic", "basic-gpu", "basic-tpu", "custom", "premium-1", "standard-1" ], "--staging-bucket": "value", "--stream-logs": "bool", "--tpu-tf-version": "value", "--use-chief-in-tf-config": "value", "--worker-accelerator": "value", "--worker-count": "value", "--worker-image-uri": "value", "--worker-machine-type": "value" } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "local": { "commands": { "predict": { "commands": {}, "flags": { "--framework": [ "scikit-learn", "tensorflow", "xgboost" ], "--json-instances": "value", "--model-dir": "value", "--signature-name": "value", "--text-instances": "value" } }, "train": { "commands": {}, "flags": { "--distributed": "bool", "--evaluator-count": "value", "--job-dir": "value", "--module-name": "value", "--package-path": "value", "--parameter-server-count": "value", "--start-port": "value", "--worker-count": "value" } } }, "flags": {} }, "models": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--description": "value", "--enable-console-logging": "bool", "--enable-logging": "bool", "--labels": "value", "--regions": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "value" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--description": "value", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "operations": { "commands": { "cancel": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "wait": { "commands": {}, "flags": {} } }, "flags": {} }, "predict": { "commands": {}, "flags": { "--json-instances": "value", "--model": "value", "--signature-name": "value", "--text-instances": "value" } }, "versions": { "commands": { "create": { "commands": {}, "flags": { "--accelerator": "value", "--async": "bool", "--config": "value", "--description": "value", "--explanation-method": [ "integrated-gradients", "sampled-shapley", "xrai" ], "--framework": [ "scikit-learn", "tensorflow", "xgboost" ], "--labels": "value", "--machine-type": "value", "--model": "value", "--num-integral-steps": "value", "--num-paths": "value", "--origin": "value", "--package-uris": "value", "--prediction-class": "value", "--python-version": "value", "--runtime-version": "value", "--service-account": "value", "--staging-bucket": "value" } }, "delete": { "commands": {}, "flags": { "--model": "value" } }, "describe": { "commands": {}, "flags": { "--model": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--model": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "set-default": { "commands": {}, "flags": { "--model": "value" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--description": "value", "--model": "value", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} } }, "flags": {} }, "monitoring": { "commands": { "channel-descriptors": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "channels": { "commands": { "create": { "commands": {}, "flags": { "--channel-content": "value", "--channel-content-from-file": "value", "--channel-labels": "value", "--description": "value", "--display-name": "value", "--enabled": "bool", "--type": "value", "--user-labels": "value" } }, "delete": { "commands": {}, "flags": { "--force": "bool" } }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--type": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--channel-content": "value", "--channel-content-from-file": "value", "--clear-channel-labels": "bool", "--clear-user-labels": "bool", "--description": "value", "--display-name": "value", "--enabled": "bool", "--fields": "value", "--remove-channel-labels": "value", "--remove-user-labels": "value", "--type": "value", "--update-channel-labels": "value", "--update-user-labels": "value" } } }, "flags": {} }, "dashboards": { "commands": { "create": { "commands": {}, "flags": { "--config": "value", "--config-from-file": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--config": "value", "--config-from-file": "value" } } }, "flags": {} } }, "flags": {} }, "network-management": { "commands": { "connectivity-tests": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--description": "value", "--destination-instance": "value", "--destination-ip-address": "value", "--destination-network": "value", "--destination-port": "value", "--destination-project": "value", "--labels": "value", "--other-projects": "value", "--protocol": "value", "--source-instance": "value", "--source-ip-address": "value", "--source-network": "value", "--source-network-type": [ "gcp-network", "non-gcp-network" ], "--source-project": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool" } }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "rerun": { "commands": {}, "flags": { "--async": "bool" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--clear-destination-instance": "bool", "--clear-destination-ip-address": "bool", "--clear-source-instance": "bool", "--clear-source-ip-address": "bool", "--description": "value", "--destination-instance": "value", "--destination-ip-address": "value", "--destination-network": "value", "--destination-port": "value", "--destination-project": "value", "--labels": "value", "--other-projects": "value", "--protocol": "value", "--source-instance": "value", "--source-ip-address": "value", "--source-network": "value", "--source-network-type": [ "gcp-network", "non-gcp-network" ], "--source-project": "value" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} } }, "flags": {} }, "notebooks": { "commands": { "environments": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--container-repository": "value", "--container-tag": "value", "--description": "value", "--display-name": "value", "--location": "dynamic", "--post-startup-script": "value", "--vm-image-family": "value", "--vm-image-name": "value", "--vm-image-project": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--location": "dynamic" } }, "describe": { "commands": {}, "flags": { "--location": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "dynamic", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "instances": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--location": "dynamic", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--accelerator-core-count": "value", "--accelerator-type": [ "NVIDIA_TESLA_K80", "NVIDIA_TESLA_P100", "NVIDIA_TESLA_P100_VWS", "NVIDIA_TESLA_P4", "NVIDIA_TESLA_P4_VWS", "NVIDIA_TESLA_T4", "NVIDIA_TESLA_T4_VWS", "NVIDIA_TESLA_V100", "TPU_V2", "TPU_V3" ], "--async": "bool", "--boot-disk-size": "value", "--boot-disk-type": [ "PD_SSD", "PD_STANDARD" ], "--container-repository": "value", "--container-tag": "value", "--custom-gpu-driver-path": "value", "--disk-encryption": [ "CMEK", "GMEK" ], "--environment": "dynamic", "--environment-location": "dynamic", "--install-gpu-driver": "bool", "--instance-owners": "value", "--kms-key": "dynamic", "--kms-keyring": "dynamic", "--kms-location": "dynamic", "--kms-project": "dynamic", "--labels": "value", "--location": "dynamic", "--machine-type": "value", "--metadata": "value", "--network": "dynamic", "--no-proxy-access": "bool", "--no-public-ip": "bool", "--post-startup-script": "value", "--service-account": "value", "--subnet": "dynamic", "--subnet-region": "dynamic", "--vm-image-family": "value", "--vm-image-name": "value", "--vm-image-project": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--location": "dynamic" } }, "describe": { "commands": {}, "flags": { "--location": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "dynamic", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "dynamic", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "register": { "commands": {}, "flags": { "--async": "bool", "--location": "dynamic" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--location": "dynamic", "--member": "value", "--role": "dynamic" } }, "reset": { "commands": {}, "flags": { "--async": "bool", "--location": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--location": "dynamic" } }, "start": { "commands": {}, "flags": { "--async": "bool", "--location": "dynamic" } }, "stop": { "commands": {}, "flags": { "--async": "bool", "--location": "dynamic" } }, "update": { "commands": {}, "flags": { "--accelerator-core-count": "value", "--accelerator-type": [ "NVIDIA_TESLA_K80", "NVIDIA_TESLA_P100", "NVIDIA_TESLA_P100_VWS", "NVIDIA_TESLA_P4", "NVIDIA_TESLA_P4_VWS", "NVIDIA_TESLA_T4", "NVIDIA_TESLA_T4_VWS", "NVIDIA_TESLA_V100", "TPU_V2", "TPU_V3" ], "--async": "bool", "--labels": "value", "--location": "dynamic", "--machine-type": "value" } } }, "flags": {} }, "locations": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "organizations": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} } }, "flags": {} }, "policy-troubleshoot": { "commands": { "iam": { "commands": {}, "flags": { "--permission": "value", "--principal-email": "value" } } }, "flags": {} }, "projects": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-ancestors": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "move": { "commands": {}, "flags": { "--folder": "value", "--organization": "value" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "undelete": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--name": "value" } } }, "flags": {} }, "pubsub": { "commands": { "snapshots": { "commands": { "create": { "commands": {}, "flags": { "--labels": "value", "--subscription": "value", "--subscription-project": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "subscriptions": { "commands": { "ack": { "commands": {}, "flags": { "--ack-ids": "value" } }, "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--ack-deadline": "value", "--dead-letter-topic": "value", "--dead-letter-topic-project": "value", "--expiration-period": "value", "--labels": "value", "--max-delivery-attempts": "value", "--message-retention-duration": "value", "--push-auth-service-account": "value", "--push-auth-token-audience": "value", "--push-endpoint": "value", "--retain-acked-messages": "bool", "--topic": "value", "--topic-project": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "modify-ack-deadline": { "commands": {}, "flags": { "--ack-deadline": "value", "--ack-ids": "value" } }, "modify-message-ack-deadline": { "commands": {}, "flags": { "--ack-deadline": "value", "--ack-ids": "value" } }, "modify-push-config": { "commands": {}, "flags": { "--push-auth-service-account": "value", "--push-auth-token-audience": "value", "--push-endpoint": "value" } }, "pull": { "commands": {}, "flags": { "--auto-ack": "bool", "--filter": "value", "--limit": "value", "--max-messages": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool", "--wait": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "seek": { "commands": {}, "flags": { "--snapshot": "value", "--snapshot-project": "value", "--time": "value" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--ack-deadline": "value", "--clear-dead-letter-policy": "bool", "--clear-labels": "bool", "--dead-letter-topic": "value", "--dead-letter-topic-project": "value", "--expiration-period": "value", "--max-delivery-attempts": "value", "--message-retention-duration": "value", "--push-auth-service-account": "value", "--push-auth-token-audience": "value", "--push-endpoint": "value", "--remove-labels": "value", "--retain-acked-messages": "bool", "--update-labels": "value" } } }, "flags": {} }, "topics": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--labels": "value", "--message-storage-policy-allowed-regions": "value", "--topic-encryption-key": "dynamic", "--topic-encryption-key-keyring": "dynamic", "--topic-encryption-key-location": "dynamic", "--topic-encryption-key-project": "dynamic" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "list-subscriptions": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "publish": { "commands": {}, "flags": { "--attribute": "value", "--message": "value" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--message-storage-policy-allowed-regions": "value", "--recompute-message-storage-policy": "bool", "--remove-labels": "value", "--topic-encryption-key": "dynamic", "--topic-encryption-key-keyring": "dynamic", "--topic-encryption-key-location": "dynamic", "--topic-encryption-key-project": "dynamic", "--update-labels": "value" } } }, "flags": {} } }, "flags": {} }, "recommender": { "commands": { "insights": { "commands": { "describe": { "commands": {}, "flags": { "--insight-type": "value", "--location": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--insight-type": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "mark-accepted": { "commands": {}, "flags": { "--etag": "value", "--insight-type": "value", "--location": "value", "--state-metadata": "value" } } }, "flags": {} }, "recommendations": { "commands": { "describe": { "commands": {}, "flags": { "--location": "value", "--recommender": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--recommender": "value", "--sort-by": "value", "--uri": "bool" } }, "mark-claimed": { "commands": {}, "flags": { "--etag": "value", "--location": "value", "--recommender": "value", "--state-metadata": "value" } }, "mark-failed": { "commands": {}, "flags": { "--etag": "value", "--location": "value", "--recommender": "value", "--state-metadata": "value" } }, "mark-succeeded": { "commands": {}, "flags": { "--etag": "value", "--location": "value", "--recommender": "value", "--state-metadata": "value" } } }, "flags": {} } }, "flags": {} }, "redis": { "commands": { "instances": { "commands": { "create": { "commands": {}, "flags": { "--alternative-zone": "value", "--async": "bool", "--connect-mode": [ "connect-mode-unspecified", "direct-peering", "private-service-access" ], "--display-name": "value", "--labels": "value", "--network": "value", "--redis-config": "value", "--redis-version": [ "redis_3_2", "redis_4_0", "redis_5_0" ], "--region": "dynamic", "--reserved-ip-range": "value", "--size": "value", "--tier": [ "basic", "standard" ], "--zone": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "export": { "commands": {}, "flags": { "--async": "bool", "--region": "dynamic" } }, "failover": { "commands": {}, "flags": { "--async": "bool", "--data-protection-mode": [ "force-data-loss", "limited-data-loss" ], "--region": "dynamic" } }, "import": { "commands": {}, "flags": { "--async": "bool", "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--clear-labels": "bool", "--display-name": "value", "--region": "dynamic", "--remove-labels": "value", "--remove-redis-config": "value", "--size": "value", "--update-labels": "value", "--update-redis-config": "value" } }, "upgrade": { "commands": {}, "flags": { "--async": "bool", "--redis-version": [ "redis_4_0" ], "--region": "dynamic" } } }, "flags": {} }, "operations": { "commands": { "cancel": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "regions": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "zones": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } } }, "flags": {} } }, "flags": {} }, "resource-manager": { "commands": { "folders": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--async": "bool", "--display-name": "value", "--folder": "value", "--organization": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--folder": "value", "--limit": "value", "--organization": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "move": { "commands": {}, "flags": { "--async": "bool", "--folder": "value", "--organization": "value" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "undelete": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--display-name": "value" } } }, "flags": {} }, "org-policies": { "commands": { "allow": { "commands": {}, "flags": { "--folder": "value", "--organization": "dynamic" } }, "delete": { "commands": {}, "flags": { "--folder": "value", "--organization": "dynamic" } }, "deny": { "commands": {}, "flags": { "--folder": "value", "--organization": "dynamic" } }, "describe": { "commands": {}, "flags": { "--effective": "bool", "--folder": "value", "--organization": "dynamic" } }, "disable-enforce": { "commands": {}, "flags": { "--folder": "value", "--organization": "dynamic" } }, "enable-enforce": { "commands": {}, "flags": { "--folder": "value", "--organization": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--folder": "value", "--limit": "value", "--organization": "dynamic", "--page-size": "value", "--show-unset": "bool", "--sort-by": "value", "--uri": "bool" } }, "set-policy": { "commands": {}, "flags": { "--folder": "value", "--organization": "dynamic" } } }, "flags": {} } }, "flags": {} }, "run": { "commands": { "deploy": { "commands": {}, "flags": { "--add-cloudsql-instances": "value", "--allow-unauthenticated": "bool", "--args": "value", "--async": "bool", "--clear-cloudsql-instances": "bool", "--clear-config-maps": "bool", "--clear-env-vars": "bool", "--clear-labels": "bool", "--clear-secrets": "bool", "--cluster": "value", "--cluster-location": "value", "--command": "value", "--concurrency": "value", "--connectivity": [ "external", "internal" ], "--context": "value", "--cpu": "value", "--image": "value", "--kubeconfig": "value", "--labels": "value", "--max-instances": "value", "--memory": "value", "--min-instances": "value", "--namespace": "value", "--no-traffic": "bool", "--platform": [ "gke", "kubernetes", "managed" ], "--port": "value", "--region": "value", "--remove-cloudsql-instances": "value", "--remove-config-maps": "value", "--remove-env-vars": "value", "--remove-labels": "value", "--remove-secrets": "value", "--revision-suffix": "value", "--service-account": "value", "--set-cloudsql-instances": "value", "--set-config-maps": "value", "--set-env-vars": "value", "--set-secrets": "value", "--timeout": "value", "--update-config-maps": "value", "--update-env-vars": "value", "--update-labels": "value", "--update-secrets": "value", "--use-http2": "bool" } }, "domain-mappings": { "commands": { "create": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--domain": "value", "--force-override": "bool", "--kubeconfig": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value", "--service": "value" } }, "delete": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--domain": "value", "--kubeconfig": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "describe": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--domain": "value", "--kubeconfig": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "list": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--filter": "value", "--kubeconfig": "value", "--limit": "value", "--namespace": "value", "--page-size": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "revisions": { "commands": { "delete": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "describe": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "list": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--filter": "value", "--kubeconfig": "value", "--limit": "value", "--namespace": "value", "--page-size": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value", "--service": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "services": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--condition": "value", "--condition-from-file": "value", "--context": "value", "--kubeconfig": "value", "--member": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value", "--role": "dynamic" } }, "delete": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "describe": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--filter": "value", "--kubeconfig": "value", "--limit": "value", "--page-size": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--filter": "value", "--kubeconfig": "value", "--limit": "value", "--namespace": "value", "--page-size": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--cluster": "value", "--cluster-location": "value", "--condition": "value", "--condition-from-file": "value", "--context": "value", "--kubeconfig": "value", "--member": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value", "--role": "dynamic" } }, "replace": { "commands": {}, "flags": { "--async": "bool", "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "set-iam-policy": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "update": { "commands": {}, "flags": { "--add-cloudsql-instances": "value", "--args": "value", "--async": "bool", "--clear-cloudsql-instances": "bool", "--clear-env-vars": "bool", "--clear-labels": "bool", "--cluster": "value", "--cluster-location": "value", "--command": "value", "--concurrency": "value", "--connectivity": [ "external", "internal" ], "--context": "value", "--cpu": "value", "--kubeconfig": "value", "--labels": "value", "--max-instances": "value", "--memory": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--port": "value", "--region": "value", "--remove-cloudsql-instances": "value", "--remove-env-vars": "value", "--remove-labels": "value", "--revision-suffix": "value", "--service-account": "value", "--set-cloudsql-instances": "value", "--set-env-vars": "value", "--timeout": "value", "--update-env-vars": "value", "--update-labels": "value" } }, "update-traffic": { "commands": {}, "flags": { "--async": "bool", "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value", "--to-latest": "bool", "--to-revisions": "value" } } }, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } } }, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "runtime-config": { "commands": { "configs": { "commands": { "create": { "commands": {}, "flags": { "--description": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--description": "value" } }, "variables": { "commands": { "describe": { "commands": {}, "flags": { "--config-name": "value" } }, "get-value": { "commands": {}, "flags": { "--config-name": "value" } }, "list": { "commands": {}, "flags": { "--config-name": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool", "--values": "bool" } }, "set": { "commands": {}, "flags": { "--config-name": "value", "--fail-if-absent": "bool", "--fail-if-present": "bool", "--is-text": "bool" } }, "unset": { "commands": {}, "flags": { "--config-name": "value", "--fail-if-absent": "bool", "--recursive": "bool" } }, "watch": { "commands": {}, "flags": { "--config-name": "value", "--max-wait": "value", "--newer-than": "value" } } }, "flags": {} }, "waiters": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--config-name": "value", "--failure-cardinality-number": "value", "--failure-cardinality-path": "value", "--success-cardinality-number": "value", "--success-cardinality-path": "value", "--timeout": "value" } }, "delete": { "commands": {}, "flags": { "--config-name": "value" } }, "describe": { "commands": {}, "flags": { "--config-name": "value" } }, "list": { "commands": {}, "flags": { "--config-name": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "wait": { "commands": {}, "flags": { "--config-name": "value", "--max-wait": "value" } } }, "flags": {} } }, "flags": {} } }, "flags": {} }, "scheduler": { "commands": { "jobs": { "commands": { "create": { "commands": { "app-engine": { "commands": {}, "flags": { "--attempt-deadline": "value", "--description": "value", "--headers": "value", "--http-method": [ "delete", "get", "head", "post", "put" ], "--max-backoff": "value", "--max-doublings": "value", "--max-retry-attempts": "value", "--max-retry-duration": "value", "--message-body": "value", "--message-body-from-file": "value", "--min-backoff": "value", "--relative-url": "value", "--schedule": "value", "--service": "value", "--time-zone": "value" } }, "http": { "commands": {}, "flags": { "--attempt-deadline": "value", "--description": "value", "--headers": "value", "--http-method": [ "delete", "get", "head", "post", "put" ], "--max-backoff": "value", "--max-doublings": "value", "--max-retry-attempts": "value", "--max-retry-duration": "value", "--message-body": "value", "--message-body-from-file": "value", "--min-backoff": "value", "--oauth-service-account-email": "value", "--oauth-token-scope": "value", "--oidc-service-account-email": "value", "--oidc-token-audience": "value", "--schedule": "value", "--time-zone": "value", "--uri": "value" } }, "pubsub": { "commands": {}, "flags": { "--attributes": "value", "--description": "value", "--max-backoff": "value", "--max-doublings": "value", "--max-retry-attempts": "value", "--max-retry-duration": "value", "--message-body": "value", "--message-body-from-file": "value", "--min-backoff": "value", "--schedule": "value", "--time-zone": "value", "--topic": "value" } } }, "flags": {} }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "pause": { "commands": {}, "flags": {} }, "resume": { "commands": {}, "flags": {} }, "run": { "commands": {}, "flags": {} }, "update": { "commands": { "app-engine": { "commands": {}, "flags": { "--attempt-deadline": "value", "--clear-headers": "bool", "--clear-max-backoff": "bool", "--clear-max-doublings": "bool", "--clear-max-retry-attempts": "bool", "--clear-max-retry-duration": "bool", "--clear-message-body": "bool", "--clear-min-backoff": "bool", "--clear-relative-url": "bool", "--clear-service": "bool", "--clear-time-zone": "bool", "--description": "value", "--http-method": [ "delete", "get", "head", "post", "put" ], "--max-backoff": "value", "--max-doublings": "value", "--max-retry-attempts": "value", "--max-retry-duration": "value", "--message-body": "value", "--message-body-from-file": "value", "--min-backoff": "value", "--relative-url": "value", "--remove-headers": "value", "--schedule": "value", "--service": "value", "--time-zone": "value", "--update-headers": "value" } }, "http": { "commands": {}, "flags": { "--attempt-deadline": "value", "--clear-auth-token": "bool", "--clear-headers": "bool", "--clear-max-backoff": "bool", "--clear-max-doublings": "bool", "--clear-max-retry-attempts": "bool", "--clear-max-retry-duration": "bool", "--clear-message-body": "bool", "--clear-min-backoff": "bool", "--clear-time-zone": "bool", "--description": "value", "--http-method": [ "delete", "get", "head", "post", "put" ], "--max-backoff": "value", "--max-doublings": "value", "--max-retry-attempts": "value", "--max-retry-duration": "value", "--message-body": "value", "--message-body-from-file": "value", "--min-backoff": "value", "--oauth-service-account-email": "value", "--oauth-token-scope": "value", "--oidc-service-account-email": "value", "--oidc-token-audience": "value", "--remove-headers": "value", "--schedule": "value", "--time-zone": "value", "--update-headers": "value", "--uri": "value" } }, "pubsub": { "commands": {}, "flags": { "--clear-attributes": "bool", "--clear-max-backoff": "bool", "--clear-max-doublings": "bool", "--clear-max-retry-attempts": "bool", "--clear-max-retry-duration": "bool", "--clear-min-backoff": "bool", "--clear-time-zone": "bool", "--description": "value", "--max-backoff": "value", "--max-doublings": "value", "--max-retry-attempts": "value", "--max-retry-duration": "value", "--message-body": "value", "--message-body-from-file": "value", "--min-backoff": "value", "--remove-attributes": "value", "--schedule": "value", "--time-zone": "value", "--topic": "value", "--update-attributes": "value" } } }, "flags": {} } }, "flags": {} } }, "flags": {} }, "secrets": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--data-file": "value", "--labels": "value", "--locations": "value", "--replication-policy": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "locations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--remove-labels": "value", "--update-labels": "value" } }, "versions": { "commands": { "access": { "commands": {}, "flags": { "--secret": "dynamic" } }, "add": { "commands": {}, "flags": { "--data-file": "value" } }, "describe": { "commands": {}, "flags": { "--secret": "dynamic" } }, "destroy": { "commands": {}, "flags": { "--secret": "dynamic" } }, "disable": { "commands": {}, "flags": { "--secret": "dynamic" } }, "enable": { "commands": {}, "flags": { "--secret": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "service-directory": { "commands": { "endpoints": { "commands": { "create": { "commands": {}, "flags": { "--address": "value", "--location": "value", "--metadata": "value", "--namespace": "value", "--port": "value", "--service": "value" } }, "delete": { "commands": {}, "flags": { "--location": "value", "--namespace": "value", "--service": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value", "--namespace": "value", "--service": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--location": "value", "--namespace": "value", "--page-size": "value", "--service": "value", "--sort-by": "value" } }, "update": { "commands": {}, "flags": { "--address": "value", "--location": "value", "--metadata": "value", "--namespace": "value", "--port": "value", "--service": "value" } } }, "flags": {} }, "locations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": {} } }, "flags": {} }, "namespaces": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--location": "value", "--member": "value", "--role": "value" } }, "create": { "commands": {}, "flags": { "--labels": "value", "--location": "value" } }, "delete": { "commands": {}, "flags": { "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--location": "value", "--member": "value", "--role": "value" } }, "set-iam-policy": { "commands": {}, "flags": { "--location": "value" } }, "update": { "commands": {}, "flags": { "--labels": "value", "--location": "value" } } }, "flags": {} }, "services": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--location": "value", "--member": "value", "--namespace": "value", "--role": "value" } }, "create": { "commands": {}, "flags": { "--location": "value", "--metadata": "value", "--namespace": "value" } }, "delete": { "commands": {}, "flags": { "--location": "value", "--namespace": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value", "--namespace": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--namespace": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--location": "value", "--namespace": "value", "--page-size": "value", "--sort-by": "value" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--location": "value", "--member": "value", "--namespace": "value", "--role": "value" } }, "resolve": { "commands": {}, "flags": { "--endpoint-filter": "value", "--location": "value", "--max-endpoints": "value", "--namespace": "value" } }, "set-iam-policy": { "commands": {}, "flags": { "--location": "value", "--namespace": "value" } }, "update": { "commands": {}, "flags": { "--location": "value", "--metadata": "value", "--namespace": "value" } } }, "flags": {} } }, "flags": {} }, "services": { "commands": { "disable": { "commands": {}, "flags": { "--async": "bool", "--force": "bool" } }, "enable": { "commands": {}, "flags": { "--async": "bool" } }, "identity": { "commands": { "create": { "commands": {}, "flags": { "--service": "value" } } }, "flags": {} }, "list": { "commands": {}, "flags": { "--available": "bool", "--enabled": "bool", "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "operations": { "commands": { "describe": { "commands": {}, "flags": { "--full": "value" } }, "wait": { "commands": {}, "flags": {} } }, "flags": {} }, "vpc-peerings": { "commands": { "connect": { "commands": {}, "flags": { "--async": "bool", "--network": "value", "--ranges": "value", "--service": "value" } }, "list": { "commands": {}, "flags": { "--network": "value", "--service": "value" } }, "operations": { "commands": { "describe": { "commands": {}, "flags": { "--name": "value" } }, "wait": { "commands": {}, "flags": { "--name": "value" } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--async": "bool", "--force": "bool", "--network": "value", "--ranges": "value", "--service": "value" } } }, "flags": {} } }, "flags": {} }, "source": { "commands": { "project-configs": { "commands": { "describe": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--add-topic": "value", "--disable-pushblock": "bool", "--enable-pushblock": "bool", "--message-format": [ "json", "protobuf" ], "--remove-topic": "value", "--service-account": "value", "--topic-project": "value", "--update-topic": "value" } } }, "flags": {} }, "repos": { "commands": { "clone": { "commands": {}, "flags": { "--dry-run": "bool", "--use-full-gcloud-path": "bool" } }, "create": { "commands": {}, "flags": {} }, "delete": { "commands": {}, "flags": { "--force": "bool" } }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--add-topic": "value", "--message-format": [ "json", "protobuf" ], "--remove-topic": "value", "--service-account": "value", "--topic-project": "value", "--update-topic": "value" } } }, "flags": {} } }, "flags": {} }, "spanner": { "commands": { "backups": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--instance": "dynamic", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--async": "bool", "--database": "value", "--expiration-date": "value", "--instance": "dynamic", "--retention-period": "value" } }, "delete": { "commands": {}, "flags": { "--instance": "dynamic" } }, "describe": { "commands": {}, "flags": { "--instance": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--database": "value", "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--instance": "dynamic", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--instance": "dynamic" } }, "update-metadata": { "commands": {}, "flags": { "--expiration-date": "value", "--instance": "dynamic", "--retention-period": "value" } } }, "flags": {} }, "databases": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--instance": "dynamic", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--async": "bool", "--ddl": "value", "--instance": "value" } }, "ddl": { "commands": { "describe": { "commands": {}, "flags": { "--filter": "value", "--instance": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--ddl": "value", "--instance": "value" } } }, "flags": {} }, "delete": { "commands": {}, "flags": { "--instance": "value" } }, "describe": { "commands": {}, "flags": { "--instance": "value" } }, "execute-sql": { "commands": {}, "flags": { "--enable-partitioned-dml": "bool", "--instance": "value", "--query-mode": [ "NORMAL", "PLAN", "PROFILE" ], "--sql": "value", "--timeout": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--instance": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--instance": "dynamic", "--member": "value", "--role": "dynamic" } }, "restore": { "commands": {}, "flags": { "--async": "bool", "--destination-database": "value", "--destination-instance": "value", "--source-backup": "value", "--source-instance": "value" } }, "sessions": { "commands": { "delete": { "commands": {}, "flags": { "--database": "value", "--instance": "value" } }, "list": { "commands": {}, "flags": { "--database": "value", "--filter": "value", "--instance": "value", "--limit": "value", "--page-size": "value", "--server-filter": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "set-iam-policy": { "commands": {}, "flags": { "--instance": "value" } } }, "flags": {} }, "instance-configs": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "instances": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--async": "bool", "--config": "dynamic", "--description": "value", "--nodes": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--async": "bool", "--description": "value", "--nodes": "value" } } }, "flags": {} }, "operations": { "commands": { "cancel": { "commands": {}, "flags": { "--backup": "dynamic", "--database": "dynamic", "--instance": "dynamic" } }, "describe": { "commands": {}, "flags": { "--backup": "dynamic", "--database": "dynamic", "--instance": "dynamic" } }, "list": { "commands": {}, "flags": { "--backup": "dynamic", "--database": "dynamic", "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--type": [ "BACKUP", "DATABASE", "DATABASE_CREATE", "DATABASE_RESTORE", "DATABASE_UPDATE_DDL", "INSTANCE" ], "--uri": "bool" } } }, "flags": {} }, "rows": { "commands": { "delete": { "commands": {}, "flags": { "--database": "value", "--instance": "value", "--keys": "value", "--table": "value" } }, "insert": { "commands": {}, "flags": { "--data": "value", "--database": "value", "--instance": "value", "--table": "value" } }, "update": { "commands": {}, "flags": { "--data": "value", "--database": "value", "--instance": "value", "--table": "value" } } }, "flags": {} } }, "flags": {} }, "sql": { "commands": { "backups": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--description": "value", "--instance": "dynamic", "--location": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--instance": "dynamic" } }, "describe": { "commands": {}, "flags": { "--instance": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "restore": { "commands": {}, "flags": { "--async": "bool", "--backup-instance": "dynamic", "--restore-instance": "dynamic" } } }, "flags": {} }, "connect": { "commands": {}, "flags": { "--database": "value", "--port": "value", "--user": "value" } }, "databases": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--charset": "value", "--collation": "value", "--instance": "dynamic" } }, "delete": { "commands": {}, "flags": { "--instance": "dynamic" } }, "describe": { "commands": {}, "flags": { "--instance": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "patch": { "commands": {}, "flags": { "--charset": "value", "--collation": "value", "--diff": "bool", "--instance": "dynamic" } } }, "flags": {} }, "export": { "commands": { "bak": { "commands": {}, "flags": { "--async": "bool", "--database": "value" } }, "csv": { "commands": {}, "flags": { "--async": "bool", "--database": "value", "--query": "value" } }, "sql": { "commands": {}, "flags": { "--async": "bool", "--database": "value", "--table": "value" } } }, "flags": {} }, "flags": { "commands": { "list": { "commands": {}, "flags": { "--database-version": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "import": { "commands": { "bak": { "commands": {}, "flags": { "--async": "bool", "--cert-path": "value", "--database": "value", "--prompt-for-pvk-password": "bool", "--pvk-password": "value", "--pvk-path": "value" } }, "csv": { "commands": {}, "flags": { "--async": "bool", "--columns": "value", "--database": "value", "--table": "value", "--user": "value" } }, "sql": { "commands": {}, "flags": { "--async": "bool", "--database": "value", "--user": "value" } } }, "flags": {} }, "instances": { "commands": { "clone": { "commands": {}, "flags": { "--async": "bool", "--bin-log-file-name": "value", "--bin-log-position": "value" } }, "create": { "commands": {}, "flags": { "--activation-policy": [ "always", "never", "on-demand" ], "--assign-ip": "bool", "--async": "bool", "--authorized-networks": "value", "--availability-type": [ "regional", "zonal" ], "--backup": "bool", "--backup-location": "value", "--backup-start-time": "value", "--client-certificate-path": "value", "--client-key-path": "value", "--cpu": "value", "--database-flags": "value", "--database-version": "value", "--disk-encryption-key": "dynamic", "--disk-encryption-key-keyring": "dynamic", "--disk-encryption-key-location": "dynamic", "--disk-encryption-key-project": "dynamic", "--enable-bin-log": "bool", "--failover-replica-name": "value", "--gce-zone": "value", "--labels": "value", "--maintenance-release-channel": [ "preview", "production" ], "--maintenance-window-day": [ "FRI", "MON", "SAT", "SUN", "THU", "TUE", "WED" ], "--maintenance-window-hour": "value", "--master-ca-certificate-path": "value", "--master-dump-file-path": "value", "--master-instance-name": "value", "--master-password": "value", "--master-username": "value", "--memory": "value", "--network": "value", "--prompt-for-master-password": "bool", "--region": "value", "--replica-type": [ "FAILOVER", "READ" ], "--replication": [ "asynchronous", "synchronous" ], "--require-ssl": "bool", "--root-password": "value", "--source-ip-address": "value", "--source-port": "value", "--storage-auto-increase": "bool", "--storage-auto-increase-limit": "value", "--storage-size": "value", "--storage-type": [ "HDD", "SSD" ], "--tier": "value", "--zone": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool" } }, "describe": { "commands": {}, "flags": {} }, "export": { "commands": {}, "flags": { "--async": "bool", "--database": "value", "--table": "value" } }, "failover": { "commands": {}, "flags": { "--async": "bool" } }, "import": { "commands": {}, "flags": { "--async": "bool", "--database": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "patch": { "commands": {}, "flags": { "--activation-policy": [ "always", "never", "on-demand" ], "--assign-ip": "bool", "--async": "bool", "--authorized-gae-apps": "value", "--authorized-networks": "value", "--availability-type": [ "regional", "zonal" ], "--backup-location": "value", "--backup-start-time": "value", "--clear-authorized-networks": "bool", "--clear-database-flags": "bool", "--clear-gae-apps": "bool", "--clear-labels": "bool", "--cpu": "value", "--database-flags": "value", "--diff": "bool", "--enable-bin-log": "bool", "--enable-database-replication": "bool", "--follow-gae-app": "value", "--gce-zone": "value", "--maintenance-release-channel": [ "preview", "production" ], "--maintenance-window-any": "bool", "--maintenance-window-day": [ "FRI", "MON", "SAT", "SUN", "THU", "TUE", "WED" ], "--maintenance-window-hour": "value", "--memory": "value", "--network": "value", "--no-backup": "bool", "--pricing-plan": [ "PACKAGE", "PER_USE" ], "--remove-labels": "value", "--replication": [ "asynchronous", "synchronous" ], "--require-ssl": "bool", "--storage-auto-increase": "bool", "--storage-auto-increase-limit": "value", "--storage-size": "value", "--tier": "value", "--update-labels": "value", "--zone": "value" } }, "promote-replica": { "commands": {}, "flags": { "--async": "bool" } }, "reset-ssl-config": { "commands": {}, "flags": { "--async": "bool" } }, "restart": { "commands": {}, "flags": { "--async": "bool" } }, "restore-backup": { "commands": {}, "flags": { "--async": "bool", "--backup-id": "value", "--backup-instance": "dynamic" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "wait": { "commands": {}, "flags": { "--timeout": "value" } } }, "flags": {} }, "reschedule-maintenance": { "commands": {}, "flags": { "--reschedule-type": [ "IMMEDIATE", "NEXT_AVAILABLE_WINDOW", "SPECIFIC_TIME" ], "--schedule-time": "value" } }, "ssl": { "commands": { "client-certs": { "commands": { "create": { "commands": {}, "flags": { "--instance": "dynamic" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--instance": "dynamic" } }, "describe": { "commands": {}, "flags": { "--instance": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "server-ca-certs": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--instance": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "rollback": { "commands": {}, "flags": { "--async": "bool", "--instance": "dynamic" } }, "rotate": { "commands": {}, "flags": { "--async": "bool", "--instance": "dynamic" } } }, "flags": {} } }, "flags": {} }, "ssl-certs": { "commands": { "create": { "commands": {}, "flags": { "--instance": "dynamic" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--instance": "dynamic" } }, "describe": { "commands": {}, "flags": { "--instance": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "tiers": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "users": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--host": "value", "--instance": "dynamic", "--password": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--host": "value", "--instance": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "set-password": { "commands": {}, "flags": { "--async": "bool", "--host": "value", "--instance": "dynamic", "--password": "value", "--prompt-for-password": "bool" } } }, "flags": {} } }, "flags": {} }, "survey": { "commands": {}, "flags": {} }, "tasks": { "commands": { "create-app-engine-task": { "commands": {}, "flags": { "--body-content": "value", "--body-file": "value", "--header": "value", "--method": "value", "--queue": "value", "--relative-uri": "value", "--routing": "value", "--schedule-time": "value" } }, "create-http-task": { "commands": {}, "flags": { "--body-content": "value", "--body-file": "value", "--header": "value", "--method": "value", "--oauth-service-account-email": "value", "--oauth-token-scope": "value", "--oidc-service-account-email": "value", "--oidc-token-audience": "value", "--queue": "value", "--schedule-time": "value", "--url": "value" } }, "delete": { "commands": {}, "flags": { "--queue": "value" } }, "describe": { "commands": {}, "flags": { "--queue": "value", "--response-view": [ "basic", "full", "view-unspecified" ] } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--queue": "value", "--sort-by": "value", "--uri": "bool" } }, "locations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "queues": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--log-sampling-ratio": "value", "--max-attempts": "value", "--max-backoff": "value", "--max-concurrent-dispatches": "value", "--max-dispatches-per-second": "value", "--max-doublings": "value", "--max-retry-duration": "value", "--min-backoff": "value", "--routing-override": "value" } }, "create-app-engine-queue": { "commands": {}, "flags": { "--log-sampling-ratio": "value", "--max-attempts": "value", "--max-backoff": "value", "--max-concurrent-dispatches": "value", "--max-dispatches-per-second": "value", "--max-doublings": "value", "--max-retry-duration": "value", "--min-backoff": "value", "--routing-override": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "pause": { "commands": {}, "flags": {} }, "purge": { "commands": {}, "flags": {} }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--location": "value", "--member": "value", "--role": "dynamic" } }, "resume": { "commands": {}, "flags": {} }, "set-iam-policy": { "commands": {}, "flags": { "--location": "value" } }, "update": { "commands": {}, "flags": { "--clear-log-sampling-ratio": "bool", "--clear-max-attempts": "bool", "--clear-max-backoff": "bool", "--clear-max-concurrent-dispatches": "bool", "--clear-max-dispatches-per-second": "bool", "--clear-max-doublings": "bool", "--clear-max-retry-duration": "bool", "--clear-min-backoff": "bool", "--clear-routing-override": "bool", "--log-sampling-ratio": "value", "--max-attempts": "value", "--max-backoff": "value", "--max-concurrent-dispatches": "value", "--max-dispatches-per-second": "value", "--max-doublings": "value", "--max-retry-duration": "value", "--min-backoff": "value", "--routing-override": "value" } }, "update-app-engine-queue": { "commands": {}, "flags": { "--clear-log-sampling-ratio": "bool", "--clear-max-attempts": "bool", "--clear-max-backoff": "bool", "--clear-max-concurrent-dispatches": "bool", "--clear-max-dispatches-per-second": "bool", "--clear-max-doublings": "bool", "--clear-max-retry-duration": "bool", "--clear-min-backoff": "bool", "--clear-routing-override": "bool", "--log-sampling-ratio": "value", "--max-attempts": "value", "--max-backoff": "value", "--max-concurrent-dispatches": "value", "--max-dispatches-per-second": "value", "--max-doublings": "value", "--max-retry-duration": "value", "--min-backoff": "value", "--routing-override": "value" } } }, "flags": {} }, "run": { "commands": {}, "flags": { "--queue": "value" } } }, "flags": {} } }, "flags": {} }, "bigtable": { "commands": { "app-profiles": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--force": "bool", "--instance": "dynamic", "--route-any": "bool", "--route-to": "dynamic", "--transactional-writes": "bool" } }, "delete": { "commands": {}, "flags": { "--force": "bool", "--instance": "dynamic" } }, "describe": { "commands": {}, "flags": { "--instance": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--description": "value", "--force": "bool", "--instance": "dynamic", "--route-any": "bool", "--route-to": "dynamic", "--transactional-writes": "bool" } } }, "flags": {} }, "clusters": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--instance": "dynamic", "--num-nodes": "value", "--zone": "value" } }, "delete": { "commands": {}, "flags": { "--instance": "dynamic" } }, "describe": { "commands": {}, "flags": { "--instance": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instances": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--instance": "dynamic", "--num-nodes": "value" } } }, "flags": {} }, "instances": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--async": "bool", "--cluster": "dynamic", "--cluster-num-nodes": "value", "--cluster-storage-type": [ "hdd", "ssd" ], "--cluster-zone": "value", "--display-name": "value", "--instance-type": [ "DEVELOPMENT", "PRODUCTION" ] } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "tables": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--instance": "dynamic", "--member": "value", "--role": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--instance": "dynamic", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--instance": "dynamic" } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--display-name": "value" } }, "upgrade": { "commands": {}, "flags": { "--async": "bool" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "builds": { "commands": { "cancel": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--ongoing": "bool", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "log": { "commands": {}, "flags": { "--stream": "bool" } }, "submit": { "commands": {}, "flags": { "--async": "bool", "--config": "value", "--disk-size": "value", "--gcs-log-dir": "value", "--gcs-source-staging-dir": "value", "--ignore-file": "value", "--machine-type": [ "n1-highcpu-32", "n1-highcpu-8" ], "--no-cache": "bool", "--no-source": "bool", "--substitutions": "value", "--tag": "value", "--timeout": "value" } } }, "flags": {} }, "components": { "commands": { "install": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--only-local-state": "bool", "--show-versions": "bool", "--sort-by": "value" } }, "reinstall": { "commands": {}, "flags": {} }, "remove": { "commands": {}, "flags": {} }, "repositories": { "commands": { "add": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--sort-by": "value" } }, "remove": { "commands": {}, "flags": { "--all": "bool" } } }, "flags": {} }, "restore": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": {} } }, "flags": {} }, "composer": { "commands": { "environments": { "commands": { "create": { "commands": {}, "flags": { "--airflow-configs": "value", "--airflow-version": "value", "--async": "bool", "--disk-size": "value", "--env-variables": "value", "--image-version": "value", "--labels": "value", "--location": "value", "--machine-type": "value", "--network": "value", "--node-count": "value", "--oauth-scopes": "value", "--python-version": [ "2", "3" ], "--service-account": "value", "--subnetwork": "value", "--tags": "value", "--zone": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--locations": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "run": { "commands": {}, "flags": { "--location": "value" } }, "storage": { "commands": { "dags": { "commands": { "delete": { "commands": {}, "flags": { "--environment": "value", "--location": "value" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--environment": "value", "--location": "value", "--source": "value" } }, "import": { "commands": {}, "flags": { "--destination": "value", "--environment": "value", "--location": "value", "--source": "value" } }, "list": { "commands": {}, "flags": { "--environment": "value", "--location": "value" } } }, "flags": {} }, "data": { "commands": { "delete": { "commands": {}, "flags": { "--environment": "value", "--location": "value" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--environment": "value", "--location": "value", "--source": "value" } }, "import": { "commands": {}, "flags": { "--destination": "value", "--environment": "value", "--location": "value", "--source": "value" } }, "list": { "commands": {}, "flags": { "--environment": "value", "--location": "value" } } }, "flags": {} }, "plugins": { "commands": { "delete": { "commands": {}, "flags": { "--environment": "value", "--location": "value" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--environment": "value", "--location": "value", "--source": "value" } }, "import": { "commands": {}, "flags": { "--destination": "value", "--environment": "value", "--location": "value", "--source": "value" } }, "list": { "commands": {}, "flags": { "--environment": "value", "--location": "value" } } }, "flags": {} } }, "flags": {} }, "update": { "commands": {}, "flags": { "--async": "bool", "--clear-airflow-configs": "bool", "--clear-env-variables": "bool", "--clear-labels": "bool", "--clear-pypi-packages": "bool", "--location": "value", "--node-count": "value", "--remove-airflow-configs": "value", "--remove-env-variables": "value", "--remove-labels": "value", "--remove-pypi-packages": "value", "--update-airflow-configs": "value", "--update-env-variables": "value", "--update-labels": "value", "--update-pypi-package": "value", "--update-pypi-packages-from-file": "value" } } }, "flags": {} }, "operations": { "commands": { "delete": { "commands": {}, "flags": { "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--locations": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "wait": { "commands": {}, "flags": { "--location": "value" } } }, "flags": {} } }, "flags": {} }, "compute": { "commands": { "accelerator-types": { "commands": { "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "addresses": { "commands": { "create": { "commands": {}, "flags": { "--addresses": "value", "--description": "value", "--global": "bool", "--ip-version": [ "IPV4", "IPV6" ], "--network": "value", "--network-tier": "value", "--prefix-length": "value", "--purpose": [ "GCE_ENDPOINT", "VPC_PEERING" ], "--region": "dynamic", "--subnet": "value" } }, "delete": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "backend-buckets": { "commands": { "add-signed-url-key": { "commands": {}, "flags": { "--key-file": "value", "--key-name": "value" } }, "create": { "commands": {}, "flags": { "--description": "value", "--enable-cdn": "bool", "--gcs-bucket-name": "dynamic", "--signed-url-cache-max-age": "value" } }, "delete": { "commands": {}, "flags": {} }, "delete-signed-url-key": { "commands": {}, "flags": { "--key-name": "value" } }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--description": "value", "--enable-cdn": "bool", "--gcs-bucket-name": "dynamic", "--signed-url-cache-max-age": "value" } } }, "flags": {} }, "backend-services": { "commands": { "add-backend": { "commands": {}, "flags": { "--balancing-mode": [ "CONNECTION", "RATE", "UTILIZATION" ], "--capacity-scaler": "value", "--description": "value", "--failover": "bool", "--global": "bool", "--global-network-endpoint-group": "bool", "--instance-group": "dynamic", "--instance-group-region": "dynamic", "--instance-group-zone": "dynamic", "--max-connections": "value", "--max-connections-per-endpoint": "value", "--max-connections-per-instance": "value", "--max-rate": "value", "--max-rate-per-endpoint": "value", "--max-rate-per-instance": "value", "--max-utilization": "value", "--network-endpoint-group": "value", "--network-endpoint-group-zone": "dynamic", "--region": "dynamic" } }, "add-signed-url-key": { "commands": {}, "flags": { "--key-file": "value", "--key-name": "value" } }, "create": { "commands": {}, "flags": { "--affinity-cookie-ttl": "value", "--cache-key-include-host": "bool", "--cache-key-include-protocol": "bool", "--cache-key-include-query-string": "bool", "--cache-key-query-string-blacklist": "value", "--cache-key-query-string-whitelist": "value", "--connection-drain-on-failover": "bool", "--connection-draining-timeout": "value", "--custom-request-header": "value", "--description": "value", "--drop-traffic-if-unhealthy": "bool", "--enable-cdn": "bool", "--enable-logging": "bool", "--failover-ratio": "value", "--global": "bool", "--global-health-checks": "bool", "--health-checks": "dynamic", "--health-checks-region": "dynamic", "--http-health-checks": "dynamic", "--https-health-checks": "dynamic", "--iap": "value", "--load-balancing-scheme": [ "EXTERNAL", "INTERNAL", "INTERNAL_MANAGED", "INTERNAL_SELF_MANAGED" ], "--logging-sample-rate": "value", "--network": "value", "--port-name": "value", "--protocol": "value", "--region": "dynamic", "--session-affinity": [ "CLIENT_IP", "CLIENT_IP_PORT_PROTO", "CLIENT_IP_PROTO", "GENERATED_COOKIE", "HEADER_FIELD", "HTTP_COOKIE", "NONE" ], "--signed-url-cache-max-age": "value", "--timeout": "value" } }, "delete": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "delete-signed-url-key": { "commands": {}, "flags": { "--key-name": "value" } }, "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "edit": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--global": "bool", "--region": "dynamic" } }, "get-health": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool" } }, "import": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic", "--source": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-backend": { "commands": {}, "flags": { "--global": "bool", "--global-network-endpoint-group": "bool", "--instance-group": "dynamic", "--instance-group-region": "dynamic", "--instance-group-zone": "dynamic", "--network-endpoint-group": "value", "--network-endpoint-group-zone": "dynamic", "--region": "dynamic" } }, "update": { "commands": {}, "flags": { "--affinity-cookie-ttl": "value", "--cache-key-include-host": "bool", "--cache-key-include-protocol": "bool", "--cache-key-include-query-string": "bool", "--cache-key-query-string-blacklist": "value", "--cache-key-query-string-whitelist": "value", "--connection-drain-on-failover": "bool", "--connection-draining-timeout": "value", "--custom-request-header": "value", "--description": "value", "--drop-traffic-if-unhealthy": "bool", "--enable-cdn": "bool", "--enable-logging": "bool", "--failover-ratio": "value", "--global": "bool", "--global-health-checks": "bool", "--health-checks": "dynamic", "--health-checks-region": "dynamic", "--http-health-checks": "dynamic", "--https-health-checks": "dynamic", "--iap": "value", "--logging-sample-rate": "value", "--no-custom-request-headers": "bool", "--no-health-checks": "bool", "--port-name": "value", "--protocol": "value", "--region": "dynamic", "--security-policy": "dynamic", "--session-affinity": [ "CLIENT_IP", "CLIENT_IP_PORT_PROTO", "CLIENT_IP_PROTO", "GENERATED_COOKIE", "HEADER_FIELD", "HTTP_COOKIE", "NONE" ], "--signed-url-cache-max-age": "value", "--timeout": "value" } }, "update-backend": { "commands": {}, "flags": { "--balancing-mode": [ "CONNECTION", "RATE", "UTILIZATION" ], "--capacity-scaler": "value", "--description": "value", "--failover": "bool", "--global": "bool", "--instance-group": "dynamic", "--instance-group-region": "dynamic", "--instance-group-zone": "dynamic", "--max-connections": "value", "--max-connections-per-endpoint": "value", "--max-connections-per-instance": "value", "--max-rate": "value", "--max-rate-per-endpoint": "value", "--max-rate-per-instance": "value", "--max-utilization": "value", "--network-endpoint-group": "value", "--network-endpoint-group-zone": "dynamic", "--region": "dynamic" } } }, "flags": {} }, "commitments": { "commands": { "create": { "commands": {}, "flags": { "--accelerator": "value", "--local-ssd": "value", "--machine-type": "value", "--min-cpu-platform": "value", "--plan": [ "12-month", "36-month" ], "--region": "dynamic", "--require-specific-reservation": "bool", "--reservation": "dynamic", "--reservation-zone": "dynamic", "--reservations-from-file": "value", "--resources": "value", "--resources-accelerator": "value", "--vm-count": "value" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "config-ssh": { "commands": {}, "flags": { "--dry-run": "bool", "--force-key-file-overwrite": "bool", "--remove": "bool", "--ssh-config-file": "value", "--ssh-key-file": "value" } }, "connect-to-serial-port": { "commands": {}, "flags": { "--dry-run": "bool", "--extra-args": "value", "--force-key-file-overwrite": "bool", "--port": "value", "--ssh-key-expiration": "value", "--ssh-key-expire-after": "value", "--ssh-key-file": "value", "--zone": "dynamic" } }, "copy-files": { "commands": {}, "flags": { "--dry-run": "bool", "--force-key-file-overwrite": "bool", "--plain": "bool", "--ssh-key-expiration": "value", "--ssh-key-expire-after": "value", "--ssh-key-file": "value", "--strict-host-key-checking": [ "ask", "no", "yes" ], "--zone": "value" } }, "diagnose": { "commands": { "routes": { "commands": {}, "flags": { "--container": "value", "--dry-run": "bool", "--external-route-ip": "value", "--force-key-file-overwrite": "bool", "--plain": "bool", "--regexp": "value", "--reverse-traceroute": "bool", "--ssh-flag": "value", "--ssh-key-expiration": "value", "--ssh-key-expire-after": "value", "--ssh-key-file": "value", "--strict-host-key-checking": [ "ask", "no", "yes" ], "--user": "value", "--zones": "dynamic" } } }, "flags": {} }, "disk-types": { "commands": { "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool", "--zones": "dynamic" } } }, "flags": {} }, "disks": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic", "--zone": "value" } }, "add-labels": { "commands": {}, "flags": { "--labels": "value", "--region": "dynamic", "--zone": "dynamic" } }, "add-resource-policies": { "commands": {}, "flags": { "--region": "dynamic", "--resource-policies": "value", "--zone": "dynamic" } }, "create": { "commands": {}, "flags": { "--csek-key-file": "value", "--description": "value", "--guest-os-features": "value", "--image": "value", "--image-family": "value", "--image-project": "value", "--kms-key": "dynamic", "--kms-keyring": "dynamic", "--kms-location": "dynamic", "--kms-project": "dynamic", "--labels": "value", "--licenses": "value", "--region": "dynamic", "--replica-zones": "value", "--require-csek-key-create": "bool", "--resource-policies": "value", "--size": "value", "--source-snapshot": "dynamic", "--type": "dynamic", "--zone": "dynamic" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic", "--zone": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic", "--zone": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool", "--zones": "value" } }, "move": { "commands": {}, "flags": { "--async": "bool", "--destination-zone": "dynamic", "--zone": "dynamic" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic", "--zone": "value" } }, "remove-labels": { "commands": {}, "flags": { "--all": "bool", "--labels": "value", "--region": "dynamic", "--zone": "dynamic" } }, "remove-resource-policies": { "commands": {}, "flags": { "--region": "dynamic", "--resource-policies": "value", "--zone": "dynamic" } }, "resize": { "commands": {}, "flags": { "--region": "dynamic", "--size": "value", "--zone": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--zone": "value" } }, "snapshot": { "commands": {}, "flags": { "--async": "bool", "--csek-key-file": "value", "--description": "value", "--guest-flush": "bool", "--labels": "value", "--region": "dynamic", "--snapshot-names": "value", "--storage-location": "value", "--zone": "dynamic" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--region": "dynamic", "--remove-labels": "value", "--update-labels": "value", "--zone": "dynamic" } } }, "flags": {} }, "external-vpn-gateways": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--interfaces": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "firewall-rules": { "commands": { "create": { "commands": {}, "flags": { "--action": [ "ALLOW", "DENY" ], "--allow": "value", "--description": "value", "--destination-ranges": "value", "--direction": [ "EGRESS", "IN", "INGRESS", "OUT" ], "--disabled": "bool", "--enable-logging": "bool", "--network": "value", "--priority": "value", "--rules": "value", "--source-ranges": "value", "--source-service-accounts": "value", "--source-tags": "value", "--target-service-accounts": "value", "--target-tags": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--allow": "value", "--description": "value", "--destination-ranges": "value", "--disabled": "bool", "--enable-logging": "bool", "--priority": "value", "--rules": "value", "--source-ranges": "value", "--source-service-accounts": "value", "--source-tags": "value", "--target-service-accounts": "value", "--target-tags": "value" } } }, "flags": {} }, "forwarding-rules": { "commands": { "create": { "commands": {}, "flags": { "--address": "dynamic", "--address-region": "dynamic", "--allow-global-access": "bool", "--backend-service": "value", "--backend-service-region": "dynamic", "--description": "value", "--global": "bool", "--global-address": "bool", "--global-backend-service": "bool", "--global-target-http-proxy": "bool", "--global-target-https-proxy": "bool", "--ip-protocol": [ "AH", "ESP", "ICMP", "SCTP", "TCP", "UDP" ], "--ip-version": [ "IPV4", "IPV6" ], "--is-mirroring-collector": "bool", "--load-balancing-scheme": [ "EXTERNAL", "INTERNAL", "INTERNAL_MANAGED", "INTERNAL_SELF_MANAGED" ], "--network": "value", "--network-tier": "value", "--port-range": "value", "--ports": "value", "--region": "dynamic", "--service-label": "value", "--subnet": "value", "--subnet-region": "dynamic", "--target-http-proxy": "value", "--target-http-proxy-region": "dynamic", "--target-https-proxy": "value", "--target-https-proxy-region": "dynamic", "--target-instance": "value", "--target-instance-zone": "dynamic", "--target-pool": "value", "--target-pool-region": "dynamic", "--target-ssl-proxy": "value", "--target-tcp-proxy": "value", "--target-vpn-gateway": "value", "--target-vpn-gateway-region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--global": "bool", "--region": "dynamic" } }, "import": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic", "--source": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "set-target": { "commands": {}, "flags": { "--backend-service": "value", "--backend-service-region": "dynamic", "--global": "bool", "--global-backend-service": "bool", "--global-target-http-proxy": "bool", "--global-target-https-proxy": "bool", "--load-balancing-scheme": [ "EXTERNAL", "INTERNAL", "INTERNAL_MANAGED", "INTERNAL_SELF_MANAGED" ], "--network": "value", "--region": "dynamic", "--subnet": "value", "--subnet-region": "dynamic", "--target-http-proxy": "value", "--target-http-proxy-region": "dynamic", "--target-https-proxy": "value", "--target-https-proxy-region": "dynamic", "--target-instance": "value", "--target-instance-zone": "dynamic", "--target-pool": "value", "--target-pool-region": "dynamic", "--target-ssl-proxy": "value", "--target-tcp-proxy": "value", "--target-vpn-gateway": "value", "--target-vpn-gateway-region": "dynamic" } }, "update": { "commands": {}, "flags": { "--allow-global-access": "bool", "--global": "bool", "--region": "dynamic" } } }, "flags": {} }, "health-checks": { "commands": { "create": { "commands": { "http": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--global": "bool", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request-path": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } }, "http2": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--global": "bool", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request-path": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } }, "https": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--global": "bool", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request-path": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } }, "ssl": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--global": "bool", "--healthy-threshold": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } }, "tcp": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--global": "bool", "--healthy-threshold": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } } }, "flags": {} }, "delete": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--protocol": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": { "http": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--global": "bool", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request-path": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } }, "http2": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--global": "bool", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request-path": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } }, "https": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--global": "bool", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request-path": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } }, "ssl": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--global": "bool", "--healthy-threshold": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } }, "tcp": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--global": "bool", "--healthy-threshold": "value", "--port": "value", "--port-name": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--region": "dynamic", "--request": "value", "--response": "value", "--timeout": "value", "--unhealthy-threshold": "value", "--use-serving-port": "bool" } } }, "flags": {} } }, "flags": {} }, "http-health-checks": { "commands": { "create": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--request-path": "value", "--timeout": "value", "--unhealthy-threshold": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--request-path": "value", "--timeout": "value", "--unhealthy-threshold": "value" } } }, "flags": {} }, "https-health-checks": { "commands": { "create": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--request-path": "value", "--timeout": "value", "--unhealthy-threshold": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--check-interval": "value", "--description": "value", "--healthy-threshold": "value", "--host": "value", "--port": "value", "--request-path": "value", "--timeout": "value", "--unhealthy-threshold": "value" } } }, "flags": {} }, "images": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "add-labels": { "commands": {}, "flags": { "--labels": "value" } }, "create": { "commands": {}, "flags": { "--csek-key-file": "value", "--description": "value", "--family": "value", "--force": "bool", "--guest-os-features": "value", "--kms-key": "dynamic", "--kms-keyring": "dynamic", "--kms-location": "dynamic", "--kms-project": "dynamic", "--labels": "value", "--licenses": "value", "--require-csek-key-create": "bool", "--source-disk": "dynamic", "--source-disk-zone": "dynamic", "--source-image": "value", "--source-image-family": "value", "--source-image-project": "value", "--source-snapshot": "dynamic", "--source-uri": "value", "--storage-location": "value" } }, "delete": { "commands": {}, "flags": {} }, "deprecate": { "commands": {}, "flags": { "--delete-in": "value", "--delete-on": "value", "--deprecate-in": "value", "--deprecate-on": "value", "--obsolete-in": "value", "--obsolete-on": "value", "--replacement": "dynamic", "--state": [ "ACTIVE", "DELETED", "DEPRECATED", "OBSOLETE" ] } }, "describe": { "commands": {}, "flags": {} }, "describe-from-family": { "commands": {}, "flags": {} }, "export": { "commands": {}, "flags": { "--async": "bool", "--destination-uri": "value", "--export-format": "value", "--image": "value", "--image-family": "value", "--image-project": "value", "--log-location": "value", "--network": "value", "--subnet": "value", "--timeout": "value", "--zone": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "import": { "commands": {}, "flags": { "--async": "bool", "--data-disk": "bool", "--description": "value", "--family": "value", "--guest-environment": "bool", "--log-location": "value", "--network": "value", "--os": [ "centos-6", "centos-7", "debian-8", "debian-9", "rhel-6", "rhel-6-byol", "rhel-7", "rhel-7-byol", "ubuntu-1404", "ubuntu-1604", "ubuntu-1804", "windows-10-x64-byol", "windows-10-x86-byol", "windows-2008r2", "windows-2008r2-byol", "windows-2012", "windows-2012-byol", "windows-2012r2", "windows-2012r2-byol", "windows-2016", "windows-2016-byol", "windows-2019", "windows-2019-byol", "windows-7-x64-byol", "windows-7-x86-byol", "windows-8-x64-byol", "windows-8-x86-byol" ], "--source-file": "value", "--source-image": "dynamic", "--storage-location": "value", "--subnet": "value", "--timeout": "value", "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--preview-images": "bool", "--regexp": "value", "--show-deprecated": "bool", "--sort-by": "value", "--standard-images": "bool", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "remove-labels": { "commands": {}, "flags": { "--all": "bool", "--labels": "value" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "instance-groups": { "commands": { "describe": { "commands": {}, "flags": { "--region": "dynamic", "--zone": "dynamic" } }, "get-named-ports": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool", "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--only-managed": "bool", "--only-unmanaged": "bool", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool", "--zones": "value" } }, "list-instances": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool", "--zone": "dynamic" } }, "managed": { "commands": { "abandon-instances": { "commands": {}, "flags": { "--instances": "value", "--region": "dynamic", "--zone": "dynamic" } }, "create": { "commands": {}, "flags": { "--base-instance-name": "value", "--description": "value", "--health-check": "dynamic", "--http-health-check": "value", "--https-health-check": "value", "--initial-delay": "value", "--instance-redistribution-type": [ "NONE", "PROACTIVE" ], "--region": "dynamic", "--size": "value", "--target-pool": "value", "--template": "value", "--zone": "dynamic", "--zones": "dynamic" } }, "create-instance": { "commands": {}, "flags": { "--instance": "value", "--region": "dynamic", "--zone": "dynamic" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic", "--zone": "dynamic" } }, "delete-instances": { "commands": {}, "flags": { "--instances": "value", "--region": "dynamic", "--zone": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic", "--zone": "dynamic" } }, "get-named-ports": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool", "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool", "--zones": "value" } }, "list-instances": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool", "--zone": "dynamic" } }, "recreate-instances": { "commands": {}, "flags": { "--instances": "value", "--region": "dynamic", "--zone": "dynamic" } }, "resize": { "commands": {}, "flags": { "--region": "dynamic", "--size": "value", "--zone": "dynamic" } }, "rolling-action": { "commands": { "replace": { "commands": {}, "flags": { "--max-surge": "value", "--max-unavailable": "value", "--region": "dynamic", "--replacement-method": [ "recreate", "substitute" ], "--zone": "dynamic" } }, "restart": { "commands": {}, "flags": { "--max-unavailable": "value", "--region": "dynamic", "--zone": "dynamic" } }, "start-update": { "commands": {}, "flags": { "--canary-version": "value", "--force": "bool", "--max-surge": "value", "--max-unavailable": "value", "--region": "dynamic", "--replacement-method": [ "recreate", "substitute" ], "--type": [ "opportunistic", "proactive" ], "--zone": "dynamic" } }, "stop-proactive-update": { "commands": {}, "flags": { "--region": "dynamic", "--zone": "dynamic" } } }, "flags": {} }, "set-autoscaling": { "commands": {}, "flags": { "--cool-down-period": "value", "--custom-metric-utilization": "value", "--description": "value", "--max-num-replicas": "value", "--min-num-replicas": "value", "--mode": [ "off", "on", "only-up" ], "--region": "dynamic", "--scale-based-on-cpu": "bool", "--scale-based-on-load-balancing": "bool", "--target-cpu-utilization": "value", "--target-load-balancing-utilization": "value", "--zone": "dynamic" } }, "set-instance-template": { "commands": {}, "flags": { "--region": "dynamic", "--template": "value", "--zone": "dynamic" } }, "set-named-ports": { "commands": {}, "flags": { "--named-ports": "value", "--region": "dynamic", "--zone": "dynamic" } }, "set-target-pools": { "commands": {}, "flags": { "--region": "dynamic", "--target-pools": "value", "--zone": "dynamic" } }, "stop-autoscaling": { "commands": {}, "flags": { "--region": "dynamic", "--zone": "dynamic" } }, "update": { "commands": {}, "flags": { "--clear-autohealing": "bool", "--health-check": "dynamic", "--http-health-check": "value", "--https-health-check": "value", "--initial-delay": "value", "--instance-redistribution-type": [ "NONE", "PROACTIVE" ], "--region": "dynamic", "--zone": "dynamic" } }, "update-autoscaling": { "commands": {}, "flags": { "--mode": [ "off", "on", "only-up" ], "--region": "dynamic", "--zone": "dynamic" } }, "update-instances": { "commands": {}, "flags": { "--instances": "value", "--minimal-action": [ "none", "refresh", "replace", "restart" ], "--most-disruptive-allowed-action": [ "none", "refresh", "replace", "restart" ], "--region": "dynamic", "--zone": "dynamic" } }, "wait-until": { "commands": {}, "flags": { "--region": "dynamic", "--stable": "bool", "--timeout": "value", "--version-target-reached": "bool", "--zone": "dynamic" } }, "wait-until-stable": { "commands": {}, "flags": { "--region": "dynamic", "--timeout": "value", "--zone": "dynamic" } } }, "flags": {} }, "set-named-ports": { "commands": {}, "flags": { "--named-ports": "value", "--region": "dynamic", "--zone": "dynamic" } }, "unmanaged": { "commands": { "add-instances": { "commands": {}, "flags": { "--instances": "value", "--zone": "dynamic" } }, "create": { "commands": {}, "flags": { "--description": "value", "--zone": "dynamic" } }, "delete": { "commands": {}, "flags": { "--zone": "dynamic" } }, "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "get-named-ports": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool", "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool", "--zones": "dynamic" } }, "list-instances": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool", "--zone": "dynamic" } }, "remove-instances": { "commands": {}, "flags": { "--instances": "value", "--zone": "dynamic" } }, "set-named-ports": { "commands": {}, "flags": { "--named-ports": "value", "--zone": "dynamic" } } }, "flags": {} } }, "flags": {} }, "instance-templates": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--accelerator": "value", "--address": "value", "--boot-disk-auto-delete": "bool", "--boot-disk-device-name": "value", "--boot-disk-kms-key": "dynamic", "--boot-disk-kms-keyring": "dynamic", "--boot-disk-kms-location": "dynamic", "--boot-disk-kms-project": "dynamic", "--boot-disk-size": "value", "--boot-disk-type": "value", "--can-ip-forward": "bool", "--configure-disk": "value", "--create-disk": "value", "--custom-cpu": "value", "--custom-extensions": "bool", "--custom-memory": "value", "--custom-vm-type": "value", "--description": "value", "--disk": "value", "--image": "value", "--image-family": "value", "--image-project": "value", "--labels": "value", "--local-ssd": "value", "--machine-type": "dynamic", "--maintenance-policy": [ "MIGRATE", "TERMINATE" ], "--metadata": "value", "--metadata-from-file": "value", "--min-cpu-platform": "value", "--network": "value", "--network-interface": "value", "--network-tier": "value", "--no-address": "bool", "--no-scopes": "bool", "--no-service-account": "bool", "--node": "value", "--node-affinity-file": "value", "--node-group": "value", "--preemptible": "bool", "--private-network-ip": "value", "--region": "dynamic", "--reservation": "value", "--reservation-affinity": [ "any", "none", "specific" ], "--restart-on-failure": "bool", "--scopes": "value", "--service-account": "value", "--shielded-integrity-monitoring": "bool", "--shielded-secure-boot": "bool", "--shielded-vtpm": "bool", "--source-instance": "dynamic", "--source-instance-zone": "dynamic", "--subnet": "value", "--tags": "value" } }, "create-with-container": { "commands": {}, "flags": { "--address": "value", "--boot-disk-auto-delete": "bool", "--boot-disk-device-name": "value", "--boot-disk-size": "value", "--boot-disk-type": "value", "--can-ip-forward": "bool", "--container-arg": "value", "--container-command": "value", "--container-env": "value", "--container-env-file": "value", "--container-image": "value", "--container-mount-disk": "value", "--container-mount-host-path": "value", "--container-mount-tmpfs": "value", "--container-privileged": "bool", "--container-restart-policy": [ "always", "never", "on-failure" ], "--container-stdin": "bool", "--container-tty": "bool", "--create-disk": "value", "--custom-cpu": "value", "--custom-extensions": "bool", "--custom-memory": "value", "--custom-vm-type": "value", "--description": "value", "--disk": "value", "--image": "value", "--image-family": "value", "--image-project": "value", "--labels": "value", "--machine-type": "dynamic", "--maintenance-policy": [ "MIGRATE", "TERMINATE" ], "--metadata": "value", "--metadata-from-file": "value", "--min-cpu-platform": "value", "--network": "value", "--network-interface": "value", "--network-tier": "value", "--no-address": "bool", "--no-scopes": "bool", "--no-service-account": "bool", "--preemptible": "bool", "--private-network-ip": "value", "--region": "dynamic", "--restart-on-failure": "bool", "--scopes": "value", "--service-account": "value", "--subnet": "value", "--tags": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} } }, "flags": {} }, "instances": { "commands": { "add-access-config": { "commands": {}, "flags": { "--access-config-name": "value", "--address": "value", "--network-interface": "value", "--network-tier": "value", "--no-public-ptr": "bool", "--no-public-ptr-domain": "bool", "--public-ptr": "bool", "--public-ptr-domain": "value", "--zone": "dynamic" } }, "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic", "--zone": "value" } }, "add-labels": { "commands": {}, "flags": { "--labels": "value", "--zone": "dynamic" } }, "add-metadata": { "commands": {}, "flags": { "--metadata": "value", "--metadata-from-file": "value", "--zone": "dynamic" } }, "add-tags": { "commands": {}, "flags": { "--tags": "value", "--zone": "dynamic" } }, "attach-disk": { "commands": {}, "flags": { "--boot": "bool", "--csek-key-file": "value", "--device-name": "value", "--disk": "value", "--disk-scope": [ "regional", "zonal" ], "--force-attach": "bool", "--mode": [ "ro", "rw" ], "--zone": "dynamic" } }, "create": { "commands": {}, "flags": { "--accelerator": "value", "--address": "value", "--async": "bool", "--boot-disk-auto-delete": "bool", "--boot-disk-device-name": "value", "--boot-disk-kms-key": "dynamic", "--boot-disk-kms-keyring": "dynamic", "--boot-disk-kms-location": "dynamic", "--boot-disk-kms-project": "dynamic", "--boot-disk-size": "value", "--boot-disk-type": "value", "--can-ip-forward": "bool", "--create-disk": "value", "--csek-key-file": "value", "--custom-cpu": "value", "--custom-extensions": "bool", "--custom-memory": "value", "--custom-vm-type": "value", "--deletion-protection": "bool", "--description": "value", "--disk": "value", "--enable-display-device": "bool", "--hostname": "value", "--image": "value", "--image-family": "value", "--image-project": "value", "--labels": "value", "--local-ssd": "value", "--machine-type": "dynamic", "--maintenance-policy": [ "MIGRATE", "TERMINATE" ], "--metadata": "value", "--metadata-from-file": "value", "--min-cpu-platform": "value", "--network": "value", "--network-interface": "value", "--network-tier": "value", "--no-address": "bool", "--no-public-ptr": "bool", "--no-public-ptr-domain": "bool", "--no-scopes": "bool", "--no-service-account": "bool", "--node": "value", "--node-affinity-file": "value", "--node-group": "value", "--preemptible": "bool", "--private-network-ip": "value", "--public-ptr": "bool", "--public-ptr-domain": "value", "--require-csek-key-create": "bool", "--reservation": "value", "--reservation-affinity": [ "any", "none", "specific" ], "--restart-on-failure": "bool", "--scopes": "value", "--service-account": "value", "--shielded-integrity-monitoring": "bool", "--shielded-secure-boot": "bool", "--shielded-vtpm": "bool", "--source-instance-template": "dynamic", "--source-snapshot": "value", "--subnet": "value", "--tags": "value", "--zone": "dynamic" } }, "create-with-container": { "commands": {}, "flags": { "--accelerator": "value", "--address": "value", "--boot-disk-auto-delete": "bool", "--boot-disk-device-name": "value", "--boot-disk-size": "value", "--boot-disk-type": "value", "--can-ip-forward": "bool", "--container-arg": "value", "--container-command": "value", "--container-env": "value", "--container-env-file": "value", "--container-image": "value", "--container-mount-disk": "value", "--container-mount-host-path": "value", "--container-mount-tmpfs": "value", "--container-privileged": "bool", "--container-restart-policy": [ "always", "never", "on-failure" ], "--container-stdin": "bool", "--container-tty": "bool", "--create-disk": "value", "--custom-cpu": "value", "--custom-extensions": "bool", "--custom-memory": "value", "--custom-vm-type": "value", "--description": "value", "--disk": "value", "--image": "value", "--image-family": "value", "--image-project": "value", "--labels": "value", "--machine-type": "dynamic", "--maintenance-policy": [ "MIGRATE", "TERMINATE" ], "--metadata": "value", "--metadata-from-file": "value", "--min-cpu-platform": "value", "--network": "value", "--network-interface": "value", "--network-tier": "value", "--no-address": "bool", "--no-public-ptr": "bool", "--no-public-ptr-domain": "bool", "--no-scopes": "bool", "--no-service-account": "bool", "--preemptible": "bool", "--private-network-ip": "value", "--public-ptr": "bool", "--public-ptr-domain": "value", "--restart-on-failure": "bool", "--scopes": "value", "--service-account": "value", "--source-instance-template": "dynamic", "--subnet": "value", "--tags": "value", "--zone": "dynamic" } }, "delete": { "commands": {}, "flags": { "--delete-disks": [ "all", "boot", "data" ], "--keep-disks": [ "all", "boot", "data" ], "--zone": "dynamic" } }, "delete-access-config": { "commands": {}, "flags": { "--access-config-name": "value", "--network-interface": "value", "--zone": "dynamic" } }, "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "detach-disk": { "commands": {}, "flags": { "--device-name": "value", "--disk": "value", "--disk-scope": [ "regional", "zonal" ], "--zone": "dynamic" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--zone": "value" } }, "get-guest-attributes": { "commands": {}, "flags": { "--query-path": "value", "--zone": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--zone": "value" } }, "get-serial-port-output": { "commands": {}, "flags": { "--port": "value", "--start": "value", "--zone": "dynamic" } }, "get-shielded-identity": { "commands": {}, "flags": { "--zone": "dynamic" } }, "import": { "commands": {}, "flags": { "--async": "bool", "--can-ip-forward": "bool", "--custom-cpu": "value", "--custom-extensions": "bool", "--custom-memory": "value", "--custom-vm-type": "value", "--deletion-protection": "bool", "--description": "value", "--guest-environment": "bool", "--hostname": "value", "--labels": "value", "--machine-type": "dynamic", "--network": "value", "--network-tier": "value", "--node": "value", "--node-affinity-file": "value", "--node-group": "value", "--os": [ "centos-6", "centos-7", "debian-8", "debian-9", "rhel-6", "rhel-6-byol", "rhel-7", "rhel-7-byol", "ubuntu-1404", "ubuntu-1604", "ubuntu-1804", "windows-10-x64-byol", "windows-10-x86-byol", "windows-2008r2", "windows-2008r2-byol", "windows-2012", "windows-2012-byol", "windows-2012r2", "windows-2012r2-byol", "windows-2016", "windows-2016-byol", "windows-2019", "windows-2019-byol", "windows-7-x64-byol", "windows-7-x86-byol", "windows-8-x64-byol", "windows-8-x86-byol" ], "--private-network-ip": "value", "--restart-on-failure": "bool", "--source-uri": "value", "--subnet": "value", "--tags": "value", "--timeout": "value", "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool", "--zones": "dynamic" } }, "move": { "commands": {}, "flags": { "--async": "bool", "--destination-zone": "dynamic", "--zone": "dynamic" } }, "network-interfaces": { "commands": { "update": { "commands": {}, "flags": { "--aliases": "value", "--network-interface": "value", "--zone": "dynamic" } } }, "flags": {} }, "os-inventory": { "commands": { "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "list-instances": { "commands": {}, "flags": { "--filter": "value", "--inventory-filter": "value", "--kernel-version": "value", "--limit": "value", "--os-shortname": "value", "--os-version": "value", "--package-name": "value", "--package-version": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic", "--zone": "value" } }, "remove-labels": { "commands": {}, "flags": { "--all": "bool", "--labels": "value", "--zone": "dynamic" } }, "remove-metadata": { "commands": {}, "flags": { "--all": "bool", "--keys": "value", "--zone": "dynamic" } }, "remove-tags": { "commands": {}, "flags": { "--all": "bool", "--tags": "value", "--zone": "dynamic" } }, "reset": { "commands": {}, "flags": { "--zone": "dynamic" } }, "set-disk-auto-delete": { "commands": {}, "flags": { "--auto-delete": "bool", "--device-name": "value", "--disk": "value", "--zone": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--zone": "value" } }, "set-machine-type": { "commands": {}, "flags": { "--custom-cpu": "value", "--custom-extensions": "bool", "--custom-memory": "value", "--custom-vm-type": "value", "--machine-type": "dynamic", "--zone": "dynamic" } }, "set-scheduling": { "commands": {}, "flags": { "--clear-node-affinities": "bool", "--maintenance-policy": [ "MIGRATE", "TERMINATE" ], "--node": "value", "--node-affinity-file": "value", "--node-group": "value", "--restart-on-failure": "bool", "--zone": "dynamic" } }, "set-service-account": { "commands": {}, "flags": { "--no-scopes": "bool", "--no-service-account": "bool", "--scopes": "value", "--service-account": "value", "--zone": "dynamic" } }, "simulate-maintenance-event": { "commands": {}, "flags": { "--async": "bool", "--zone": "dynamic" } }, "start": { "commands": {}, "flags": { "--async": "bool", "--csek-key-file": "value", "--zone": "dynamic" } }, "stop": { "commands": {}, "flags": { "--async": "bool", "--zone": "dynamic" } }, "tail-serial-port-output": { "commands": {}, "flags": { "--port": "value", "--zone": "dynamic" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--deletion-protection": "bool", "--enable-display-device": "bool", "--min-cpu-platform": "value", "--remove-labels": "value", "--shielded-integrity-monitoring": "bool", "--shielded-learn-integrity-policy": "bool", "--shielded-secure-boot": "bool", "--shielded-vtpm": "bool", "--update-labels": "value", "--zone": "dynamic" } }, "update-access-config": { "commands": {}, "flags": { "--network-interface": "value", "--no-public-ptr": "bool", "--no-public-ptr-domain": "bool", "--public-ptr": "bool", "--public-ptr-domain": "value", "--zone": "dynamic" } }, "update-container": { "commands": {}, "flags": { "--clear-container-args": "bool", "--clear-container-command": "bool", "--container-arg": "value", "--container-command": "value", "--container-env": "value", "--container-env-file": "value", "--container-image": "value", "--container-mount-disk": "value", "--container-mount-host-path": "value", "--container-mount-tmpfs": "value", "--container-privileged": "bool", "--container-restart-policy": [ "always", "never", "on-failure" ], "--container-stdin": "bool", "--container-tty": "bool", "--remove-container-env": "value", "--remove-container-mounts": "value", "--zone": "dynamic" } }, "update-from-file": { "commands": {}, "flags": { "--minimal-action": "value", "--most-disruptive-allowed-action": "value", "--source": "value", "--zone": "dynamic" } } }, "flags": {} }, "interconnects": { "commands": { "attachments": { "commands": { "dedicated": { "commands": { "create": { "commands": {}, "flags": { "--bandwidth": [ "100m", "10g", "1g", "200m", "20g", "2g", "300m", "400m", "500m", "50g", "50m", "5g" ], "--candidate-subnets": "value", "--description": "value", "--enable-admin": "bool", "--interconnect": "dynamic", "--region": "dynamic", "--router": "dynamic", "--vlan": "value" } }, "update": { "commands": {}, "flags": { "--bandwidth": [ "100m", "10g", "1g", "200m", "20g", "2g", "300m", "400m", "500m", "50g", "50m", "5g" ], "--description": "value", "--enable-admin": "bool", "--region": "dynamic" } } }, "flags": {} }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "partner": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--edge-availability-domain": [ "any", "availability-domain-1", "availability-domain-2" ], "--enable-admin": "bool", "--region": "dynamic", "--router": "dynamic" } }, "update": { "commands": {}, "flags": { "--description": "value", "--enable-admin": "bool", "--region": "dynamic" } } }, "flags": {} } }, "flags": {} }, "create": { "commands": {}, "flags": { "--admin-enabled": "bool", "--customer-name": "value", "--description": "value", "--interconnect-type": [ "DEDICATED", "PARTNER" ], "--link-type": [ "LINK_TYPE_ETHERNET_100G_LR", "LINK_TYPE_ETHERNET_10G_LR" ], "--location": "dynamic", "--noc-contact-email": "value", "--requested-link-count": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-diagnostics": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "locations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--admin-enabled": "bool", "--description": "value", "--noc-contact-email": "value", "--requested-link-count": "value" } } }, "flags": {} }, "machine-types": { "commands": { "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool", "--zones": "dynamic" } } }, "flags": {} }, "network-endpoint-groups": { "commands": { "create": { "commands": {}, "flags": { "--default-port": "value", "--global": "bool", "--network": "value", "--network-endpoint-type": [ "gce-vm-ip-port", "internet-fqdn-port", "internet-ip-port" ], "--subnet": "value", "--zone": "dynamic" } }, "delete": { "commands": {}, "flags": { "--global": "bool", "--zone": "dynamic" } }, "describe": { "commands": {}, "flags": { "--global": "bool", "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool", "--zones": "value" } }, "list-network-endpoints": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--zone": "dynamic" } }, "update": { "commands": {}, "flags": { "--add-endpoint": "value", "--global": "bool", "--remove-endpoint": "value", "--zone": "dynamic" } } }, "flags": {} }, "networks": { "commands": { "create": { "commands": {}, "flags": { "--bgp-routing-mode": [ "global", "regional" ], "--description": "value", "--range": "value", "--subnet-mode": [ "auto", "custom", "legacy" ] } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } }, "peerings": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--auto-create-routes": "bool", "--network": "value", "--peer-network": "value", "--peer-project": "value" } }, "delete": { "commands": {}, "flags": { "--network": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--network": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "list-routes": { "commands": {}, "flags": { "--direction": [ "INCOMING", "OUTGOING" ], "--filter": "value", "--limit": "value", "--network": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--export-custom-routes": "bool", "--import-custom-routes": "bool", "--network": "value" } } }, "flags": {} }, "subnets": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--region": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--description": "value", "--enable-flow-logs": "bool", "--enable-private-ip-google-access": "bool", "--logging-aggregation-interval": [ "interval-1-min", "interval-10-min", "interval-15-min", "interval-30-sec", "interval-5-min", "interval-5-sec" ], "--logging-flow-sampling": "value", "--logging-metadata": [ "exclude-all", "include-all" ], "--network": "dynamic", "--purpose": [ "INTERNAL_HTTPS_LOAD_BALANCER", "PRIVATE" ], "--range": "value", "--region": "dynamic", "--role": [ "ACTIVE", "BACKUP" ], "--secondary-range": "value" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "expand-ip-range": { "commands": {}, "flags": { "--prefix-length": "value", "--region": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--network": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "list-usable": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--region": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "value" } }, "update": { "commands": {}, "flags": { "--add-secondary-ranges": "value", "--drain-timeout": "value", "--enable-flow-logs": "bool", "--enable-private-ip-google-access": "bool", "--logging-aggregation-interval": [ "interval-1-min", "interval-10-min", "interval-15-min", "interval-30-sec", "interval-5-min", "interval-5-sec" ], "--logging-flow-sampling": "value", "--logging-metadata": [ "exclude-all", "include-all" ], "--region": "dynamic", "--remove-secondary-ranges": "value", "--role": [ "ACTIVE" ] } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--async": "bool", "--bgp-routing-mode": [ "global", "regional" ], "--switch-to-custom-subnet-mode": "bool" } }, "vpc-access": { "commands": { "connectors": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--max-throughput": "value", "--min-throughput": "value", "--network": "value", "--range": "value", "--region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "locations": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic", "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool", "--zones": "value" } } }, "flags": {} }, "os-config": { "commands": { "patch-deployments": { "commands": { "create": { "commands": {}, "flags": { "--file": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "patch-jobs": { "commands": { "cancel": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "execute": { "commands": {}, "flags": { "--apt-dist": "bool", "--apt-excludes": "value", "--apt-exclusive-packages": "value", "--async": "bool", "--description": "value", "--display-name": "value", "--dry-run": "bool", "--duration": "value", "--instance-filter-all": "bool", "--instance-filter-group-labels": "value", "--instance-filter-name-prefixes": "value", "--instance-filter-names": "value", "--instance-filter-zones": "value", "--post-patch-linux-executable": "value", "--post-patch-linux-success-codes": "value", "--post-patch-windows-executable": "value", "--post-patch-windows-success-codes": "value", "--pre-patch-linux-executable": "value", "--pre-patch-linux-success-codes": "value", "--pre-patch-windows-executable": "value", "--pre-patch-windows-success-codes": "value", "--reboot-config": [ "always", "default", "never" ], "--windows-classifications": "value", "--windows-excludes": "value", "--windows-exclusive-patches": "value", "--yum-excludes": "value", "--yum-exclusive-packages": "value", "--yum-minimal": "bool", "--yum-security": "bool", "--zypper-categories": "value", "--zypper-exclusive-patches": "value", "--zypper-severities": "value", "--zypper-with-optional": "bool", "--zypper-with-update": "bool" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "list-instance-details": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} } }, "flags": {} }, "os-login": { "commands": { "describe-profile": { "commands": {}, "flags": {} }, "remove-profile": { "commands": {}, "flags": {} }, "ssh-keys": { "commands": { "add": { "commands": {}, "flags": { "--key": "value", "--key-file": "value", "--ttl": "value" } }, "describe": { "commands": {}, "flags": { "--key": "value", "--key-file": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "remove": { "commands": {}, "flags": { "--key": "value", "--key-file": "value" } }, "update": { "commands": {}, "flags": { "--key": "value", "--key-file": "value", "--ttl": "value" } } }, "flags": {} } }, "flags": {} }, "packet-mirrorings": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--collector-ilb": "value", "--description": "value", "--enable": "bool", "--filter-cidr-ranges": "value", "--filter-protocols": "value", "--mirrored-instances": "value", "--mirrored-subnets": "value", "--mirrored-tags": "value", "--network": "value", "--region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--add-filter-cidr-ranges": "value", "--add-filter-protocols": "value", "--add-mirrored-instances": "value", "--add-mirrored-subnets": "value", "--add-mirrored-tags": "value", "--async": "bool", "--clear-filter-cidr-ranges": "bool", "--clear-filter-protocols": "bool", "--clear-mirrored-instances": "bool", "--clear-mirrored-subnets": "bool", "--clear-mirrored-tags": "bool", "--collector-ilb": "value", "--description": "value", "--enable": "bool", "--region": "dynamic", "--remove-filter-cidr-ranges": "value", "--remove-filter-protocols": "value", "--remove-mirrored-instances": "value", "--remove-mirrored-subnets": "value", "--remove-mirrored-tags": "value", "--set-filter-cidr-ranges": "value", "--set-filter-protocols": "value", "--set-mirrored-instances": "value", "--set-mirrored-subnets": "value", "--set-mirrored-tags": "value" } } }, "flags": {} }, "project-info": { "commands": { "add-metadata": { "commands": {}, "flags": { "--metadata": "value", "--metadata-from-file": "value" } }, "describe": { "commands": {}, "flags": {} }, "remove-metadata": { "commands": {}, "flags": { "--all": "bool", "--keys": "value" } }, "set-usage-bucket": { "commands": {}, "flags": { "--bucket": "value", "--no-bucket": "bool", "--prefix": "value" } }, "update": { "commands": {}, "flags": { "--default-network-tier": [ "PREMIUM", "STANDARD" ] } } }, "flags": {} }, "regions": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "reservations": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic", "--zone": "value" } }, "create": { "commands": {}, "flags": { "--accelerator": "value", "--description": "value", "--local-ssd": "value", "--machine-type": "value", "--min-cpu-platform": "value", "--require-specific-reservation": "bool", "--vm-count": "value", "--zone": "dynamic" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--zone": "value" } }, "describe": { "commands": {}, "flags": { "--zone": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic", "--zone": "value" } }, "set-iam-policy": { "commands": {}, "flags": { "--zone": "value" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--vm-count": "value", "--zone": "value" } } }, "flags": {} }, "reset-windows-password": { "commands": {}, "flags": { "--user": "value", "--zone": "dynamic" } }, "resource-policies": { "commands": { "create": { "commands": { "group-placement": { "commands": {}, "flags": { "--availability-domain-count": "value", "--collocation": [ "collocated", "unspecified-collocation" ], "--description": "value", "--region": "dynamic", "--vm-count": "value" } }, "snapshot-schedule": { "commands": {}, "flags": { "--daily-schedule": "bool", "--description": "value", "--guest-flush": "bool", "--hourly-schedule": "value", "--max-retention-days": "value", "--on-source-disk-delete": [ "apply-retention-policy", "keep-auto-snapshots" ], "--region": "dynamic", "--snapshot-labels": "value", "--start-time": "value", "--storage-location": "value", "--weekly-schedule": [ "friday", "monday", "saturday", "sunday", "thursday", "tuesday", "wednesday" ], "--weekly-schedule-from-file": "value" } } }, "flags": {} }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "value" } } }, "flags": {} }, "routers": { "commands": { "add-bgp-peer": { "commands": {}, "flags": { "--advertised-route-priority": "value", "--advertisement-mode": [ "CUSTOM", "DEFAULT" ], "--async": "bool", "--interface": "value", "--peer-asn": "value", "--peer-ip-address": "value", "--peer-name": "value", "--region": "dynamic", "--set-advertisement-groups": "value", "--set-advertisement-ranges": "value" } }, "add-interface": { "commands": {}, "flags": { "--interconnect-attachment": "dynamic", "--interconnect-attachment-region": "dynamic", "--interface-name": "value", "--ip-address": "value", "--mask-length": "value", "--region": "dynamic", "--vpn-tunnel": "dynamic", "--vpn-tunnel-region": "dynamic" } }, "create": { "commands": {}, "flags": { "--advertisement-mode": [ "CUSTOM", "DEFAULT" ], "--asn": "value", "--async": "bool", "--description": "value", "--network": "dynamic", "--region": "dynamic", "--set-advertisement-groups": "value", "--set-advertisement-ranges": "value" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "get-nat-mapping-info": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value" } }, "get-status": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "nats": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--auto-allocate-nat-external-ips": "bool", "--enable-logging": "bool", "--icmp-idle-timeout": "value", "--log-filter": [ "ALL", "ERRORS_ONLY", "TRANSLATIONS_ONLY" ], "--min-ports-per-vm": "value", "--nat-all-subnet-ip-ranges": "bool", "--nat-custom-subnet-ip-ranges": "value", "--nat-external-ip-pool": "value", "--nat-primary-subnet-ip-ranges": "bool", "--region": "dynamic", "--router": "dynamic", "--tcp-established-idle-timeout": "value", "--tcp-transitory-idle-timeout": "value", "--udp-idle-timeout": "value" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic", "--router": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic", "--router": "dynamic" } }, "list": { "commands": {}, "flags": { "--region": "dynamic", "--router": "dynamic" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--auto-allocate-nat-external-ips": "bool", "--clear-icmp-idle-timeout": "bool", "--clear-min-ports-per-vm": "bool", "--clear-nat-external-drain-ip-pool": "bool", "--clear-tcp-established-idle-timeout": "bool", "--clear-tcp-transitory-idle-timeout": "bool", "--clear-udp-idle-timeout": "bool", "--enable-logging": "bool", "--icmp-idle-timeout": "value", "--log-filter": [ "ALL", "ERRORS_ONLY", "TRANSLATIONS_ONLY" ], "--min-ports-per-vm": "value", "--nat-all-subnet-ip-ranges": "bool", "--nat-custom-subnet-ip-ranges": "value", "--nat-external-drain-ip-pool": "value", "--nat-external-ip-pool": "value", "--nat-primary-subnet-ip-ranges": "bool", "--region": "dynamic", "--router": "dynamic", "--tcp-established-idle-timeout": "value", "--tcp-transitory-idle-timeout": "value", "--udp-idle-timeout": "value" } } }, "flags": {} }, "remove-bgp-peer": { "commands": {}, "flags": { "--peer-name": "value", "--region": "dynamic" } }, "remove-interface": { "commands": {}, "flags": { "--interface-name": "value", "--region": "dynamic" } }, "update": { "commands": {}, "flags": { "--add-advertisement-groups": "value", "--add-advertisement-ranges": "value", "--advertisement-mode": [ "CUSTOM", "DEFAULT" ], "--async": "bool", "--region": "dynamic", "--remove-advertisement-groups": "value", "--remove-advertisement-ranges": "value", "--set-advertisement-groups": "value", "--set-advertisement-ranges": "value" } }, "update-bgp-peer": { "commands": {}, "flags": { "--add-advertisement-groups": "value", "--add-advertisement-ranges": "value", "--advertised-route-priority": "value", "--advertisement-mode": [ "CUSTOM", "DEFAULT" ], "--async": "bool", "--interface": "value", "--ip-address": "value", "--peer-asn": "value", "--peer-ip-address": "value", "--peer-name": "value", "--region": "dynamic", "--remove-advertisement-groups": "value", "--remove-advertisement-ranges": "value", "--set-advertisement-groups": "value", "--set-advertisement-ranges": "value" } }, "update-interface": { "commands": {}, "flags": { "--interconnect-attachment": "dynamic", "--interconnect-attachment-region": "dynamic", "--interface-name": "value", "--ip-address": "value", "--mask-length": "value", "--region": "dynamic", "--vpn-tunnel": "dynamic", "--vpn-tunnel-region": "dynamic" } } }, "flags": {} }, "routes": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--destination-range": "value", "--network": "value", "--next-hop-address": "value", "--next-hop-gateway": "dynamic", "--next-hop-ilb": "value", "--next-hop-ilb-region": "value", "--next-hop-instance": "value", "--next-hop-instance-zone": "value", "--next-hop-vpn-tunnel": "value", "--next-hop-vpn-tunnel-region": "value", "--priority": "value", "--tags": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "scp": { "commands": {}, "flags": { "--compress": "bool", "--dry-run": "bool", "--force-key-file-overwrite": "bool", "--internal-ip": "bool", "--plain": "bool", "--port": "value", "--recurse": "bool", "--scp-flag": "value", "--ssh-key-expiration": "value", "--ssh-key-expire-after": "value", "--ssh-key-file": "value", "--strict-host-key-checking": [ "ask", "no", "yes" ], "--tunnel-through-iap": "bool", "--zone": "value" } }, "security-policies": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--file-format": [ "json", "yaml" ], "--file-name": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "export": { "commands": {}, "flags": { "--file-format": [ "json", "yaml" ], "--file-name": "value" } }, "import": { "commands": {}, "flags": { "--file-format": [ "json", "yaml" ], "--file-name": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "rules": { "commands": { "create": { "commands": {}, "flags": { "--action": [ "allow", "deny-403", "deny-404", "deny-502" ], "--description": "value", "--expression": "value", "--preview": "bool", "--security-policy": "dynamic", "--src-ip-ranges": "value" } }, "delete": { "commands": {}, "flags": { "--security-policy": "dynamic" } }, "describe": { "commands": {}, "flags": { "--security-policy": "dynamic" } }, "update": { "commands": {}, "flags": { "--action": [ "allow", "deny-403", "deny-404", "deny-502" ], "--description": "value", "--expression": "value", "--preview": "bool", "--security-policy": "dynamic", "--src-ip-ranges": "value" } } }, "flags": {} } }, "flags": {} }, "shared-vpc": { "commands": { "associated-projects": { "commands": { "add": { "commands": {}, "flags": { "--host-project": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove": { "commands": {}, "flags": { "--host-project": "value" } } }, "flags": {} }, "disable": { "commands": {}, "flags": {} }, "enable": { "commands": {}, "flags": {} }, "get-host-project": { "commands": {}, "flags": {} }, "list-associated-resources": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "organizations": { "commands": { "list-host-projects": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "sign-url": { "commands": {}, "flags": { "--expires-in": "value", "--key-file": "value", "--key-name": "value", "--validate": "bool" } }, "snapshots": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "add-labels": { "commands": {}, "flags": { "--labels": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "remove-labels": { "commands": {}, "flags": { "--all": "bool", "--labels": "value" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "sole-tenancy": { "commands": { "node-groups": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic", "--zone": "value" } }, "create": { "commands": {}, "flags": { "--description": "value", "--node-template": "value", "--target-size": "value", "--zone": "dynamic" } }, "delete": { "commands": {}, "flags": { "--zone": "dynamic" } }, "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "list-nodes": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--zone": "dynamic" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic", "--zone": "value" } }, "set-iam-policy": { "commands": {}, "flags": { "--zone": "value" } }, "update": { "commands": {}, "flags": { "--add-nodes": "value", "--delete-nodes": "value", "--node-template": "value", "--zone": "dynamic" } } }, "flags": {} }, "node-templates": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--region": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--description": "value", "--node-affinity-labels": "value", "--node-requirements": "value", "--node-type": "value", "--region": "dynamic", "--server-binding": [ "restart-node-on-any-server", "restart-node-on-minimal-servers" ] } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--region": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "value" } } }, "flags": {} }, "node-types": { "commands": { "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "ssh": { "commands": {}, "flags": { "--command": "value", "--container": "value", "--dry-run": "bool", "--force-key-file-overwrite": "bool", "--internal-ip": "bool", "--plain": "bool", "--ssh-flag": "value", "--ssh-key-expiration": "value", "--ssh-key-expire-after": "value", "--ssh-key-file": "value", "--strict-host-key-checking": [ "ask", "no", "yes" ], "--tunnel-through-iap": "bool", "--zone": "dynamic" } }, "ssl-certificates": { "commands": { "create": { "commands": {}, "flags": { "--certificate": "value", "--description": "value", "--global": "bool", "--private-key": "value", "--region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "ssl-policies": { "commands": { "create": { "commands": {}, "flags": { "--custom-features": "value", "--description": "value", "--min-tls-version": [ "1.0", "1.1", "1.2" ], "--profile": [ "COMPATIBLE", "CUSTOM", "MODERN", "RESTRICTED" ] } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "list-available-features": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--custom-features": "value", "--min-tls-version": [ "1.0", "1.1", "1.2" ], "--profile": [ "COMPATIBLE", "CUSTOM", "MODERN", "RESTRICTED" ] } } }, "flags": {} }, "start-iap-tunnel": { "commands": {}, "flags": { "--local-host-port": "value", "--zone": "dynamic" } }, "target-http-proxies": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--global": "bool", "--global-url-map": "bool", "--region": "dynamic", "--url-map": "dynamic", "--url-map-region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--global": "bool", "--global-url-map": "bool", "--region": "dynamic", "--url-map": "dynamic", "--url-map-region": "dynamic" } } }, "flags": {} }, "target-https-proxies": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--global": "bool", "--global-ssl-certificates": "bool", "--global-url-map": "bool", "--quic-override": [ "DISABLE", "ENABLE", "NONE" ], "--region": "dynamic", "--ssl-certificates": "dynamic", "--ssl-certificates-region": "dynamic", "--ssl-policy": "dynamic", "--url-map": "dynamic", "--url-map-region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--clear-ssl-policy": "bool", "--global": "bool", "--global-ssl-certificates": "bool", "--global-url-map": "bool", "--quic-override": [ "DISABLE", "ENABLE", "NONE" ], "--region": "dynamic", "--ssl-certificates": "dynamic", "--ssl-certificates-region": "dynamic", "--ssl-policy": "dynamic", "--url-map": "dynamic", "--url-map-region": "dynamic" } } }, "flags": {} }, "target-instances": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--instance": "dynamic", "--instance-zone": "dynamic", "--zone": "dynamic" } }, "delete": { "commands": {}, "flags": { "--zone": "dynamic" } }, "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool", "--zones": "dynamic" } } }, "flags": {} }, "target-pools": { "commands": { "add-health-checks": { "commands": {}, "flags": { "--http-health-check": "dynamic", "--region": "dynamic" } }, "add-instances": { "commands": {}, "flags": { "--instances": "dynamic", "--instances-zone": "dynamic", "--region": "dynamic", "--zone": "dynamic" } }, "create": { "commands": {}, "flags": { "--backup-pool": "value", "--description": "value", "--failover-ratio": "value", "--health-check": "value", "--http-health-check": "dynamic", "--region": "dynamic", "--session-affinity": [ "CLIENT_IP", "CLIENT_IP_PROTO", "NONE" ] } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "get-health": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-health-checks": { "commands": {}, "flags": { "--http-health-check": "dynamic", "--region": "dynamic" } }, "remove-instances": { "commands": {}, "flags": { "--instances": "dynamic", "--instances-zone": "dynamic", "--region": "dynamic", "--zone": "dynamic" } }, "set-backup": { "commands": {}, "flags": { "--backup-pool": "dynamic", "--failover-ratio": "value", "--no-backup-pool": "bool", "--region": "dynamic" } } }, "flags": {} }, "target-ssl-proxies": { "commands": { "create": { "commands": {}, "flags": { "--backend-service": "dynamic", "--description": "value", "--proxy-header": [ "NONE", "PROXY_V1" ], "--ssl-certificates": "dynamic", "--ssl-policy": "dynamic" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--backend-service": "dynamic", "--clear-ssl-policy": "bool", "--proxy-header": [ "NONE", "PROXY_V1" ], "--ssl-certificates": "dynamic", "--ssl-policy": "dynamic" } } }, "flags": {} }, "target-tcp-proxies": { "commands": { "create": { "commands": {}, "flags": { "--backend-service": "dynamic", "--description": "value", "--proxy-header": [ "NONE", "PROXY_V1" ] } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--backend-service": "dynamic", "--proxy-header": [ "NONE", "PROXY_V1" ] } } }, "flags": {} }, "target-vpn-gateways": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--network": "dynamic", "--region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "tpus": { "commands": { "accelerator-types": { "commands": { "describe": { "commands": {}, "flags": { "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--zone": "dynamic" } } }, "flags": {} }, "create": { "commands": {}, "flags": { "--accelerator-type": "value", "--async": "bool", "--description": "value", "--network": "value", "--preemptible": "bool", "--range": "value", "--zone": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--zone": "value" } }, "describe": { "commands": {}, "flags": { "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool", "--zone": "dynamic" } }, "locations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} }, "reimage": { "commands": {}, "flags": { "--async": "bool", "--zone": "value" } }, "start": { "commands": {}, "flags": { "--async": "bool", "--zone": "value" } }, "stop": { "commands": {}, "flags": { "--async": "bool", "--zone": "value" } }, "versions": { "commands": { "describe": { "commands": {}, "flags": { "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--zone": "dynamic" } } }, "flags": {} } }, "flags": {} }, "url-maps": { "commands": { "add-host-rule": { "commands": {}, "flags": { "--description": "value", "--global": "bool", "--hosts": "value", "--path-matcher-name": "value", "--region": "dynamic" } }, "add-path-matcher": { "commands": {}, "flags": { "--backend-bucket-path-rules": "value", "--backend-service-path-rules": "value", "--default-backend-bucket": "value", "--default-service": "value", "--delete-orphaned-path-matcher": "bool", "--description": "value", "--existing-host": "value", "--global": "bool", "--new-hosts": "value", "--path-matcher-name": "value", "--path-rules": "value", "--region": "dynamic" } }, "create": { "commands": {}, "flags": { "--default-backend-bucket": "value", "--default-service": "value", "--description": "value", "--global": "bool", "--region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "edit": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--global": "bool", "--region": "dynamic" } }, "import": { "commands": {}, "flags": { "--global": "bool", "--region": "dynamic", "--source": "value" } }, "invalidate-cdn-cache": { "commands": {}, "flags": { "--async": "bool", "--host": "value", "--path": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--global": "bool", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "list-cdn-cache-invalidations": { "commands": {}, "flags": { "--limit": "value" } }, "remove-host-rule": { "commands": {}, "flags": { "--delete-orphaned-path-matcher": "bool", "--global": "bool", "--host": "value", "--region": "dynamic" } }, "remove-path-matcher": { "commands": {}, "flags": { "--global": "bool", "--path-matcher-name": "value", "--region": "dynamic" } }, "set-default-service": { "commands": {}, "flags": { "--default-backend-bucket": "value", "--default-service": "value", "--global": "bool", "--region": "dynamic" } } }, "flags": {} }, "vpn-gateways": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--network": "dynamic", "--region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "get-status": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--region": "dynamic", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "vpn-tunnels": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--ike-version": [ 1, 2 ], "--interface": [ 0, 1 ], "--local-traffic-selector": "value", "--peer-address": "value", "--peer-external-gateway": "dynamic", "--peer-external-gateway-interface": [ 0, 1, 2, 3 ], "--peer-gcp-gateway": "dynamic", "--peer-gcp-gateway-region": "dynamic", "--region": "dynamic", "--remote-traffic-selector": "value", "--router": "dynamic", "--router-region": "dynamic", "--shared-secret": "value", "--target-vpn-gateway": "dynamic", "--target-vpn-gateway-region": "dynamic", "--vpn-gateway": "dynamic", "--vpn-gateway-region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "zones": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regexp": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "config": { "commands": { "configurations": { "commands": { "activate": { "commands": {}, "flags": {} }, "create": { "commands": {}, "flags": { "--activate": "bool" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": { "--all": "bool" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--sort-by": "value" } } }, "flags": {} }, "get-value": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--all": "bool", "--filter": "value", "--limit": "value", "--sort-by": "value" } }, "set": { "commands": {}, "flags": { "--installation": "bool" } }, "unset": { "commands": {}, "flags": { "--installation": "bool" } } }, "flags": {} }, "container": { "commands": { "binauthz": { "commands": { "attestations": { "commands": { "create": { "commands": {}, "flags": { "--artifact-url": "value", "--attestor": "value", "--attestor-project": "value", "--payload-file": "value", "--public-key-id": "value", "--signature-file": "value" } }, "list": { "commands": {}, "flags": { "--artifact-url": "value", "--attestor": "value", "--attestor-project": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "attestors": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--attestation-authority-note": "value", "--attestation-authority-note-project": "value", "--description": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "public-keys": { "commands": { "add": { "commands": {}, "flags": { "--attestor": "value", "--comment": "value", "--pgp-public-key-file": "value" } }, "remove": { "commands": {}, "flags": { "--attestor": "value" } }, "update": { "commands": {}, "flags": { "--attestor": "value", "--comment": "value", "--pgp-public-key-file": "value" } } }, "flags": {} }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--description": "value" } } }, "flags": {} }, "create-signature-payload": { "commands": {}, "flags": { "--artifact-url": "value" } }, "policy": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "export": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "import": { "commands": {}, "flags": { "--strict-validation": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} } }, "flags": {} } }, "flags": {} }, "clusters": { "commands": { "create": { "commands": {}, "flags": { "--accelerator": "value", "--additional-zones": "value", "--addons": "value", "--async": "bool", "--autoprovisioning-config-file": "value", "--autoprovisioning-locations": "value", "--autoprovisioning-scopes": "value", "--autoprovisioning-service-account": "value", "--cluster-ipv4-cidr": "value", "--cluster-secondary-range-name": "value", "--cluster-version": "value", "--create-subnetwork": "value", "--database-encryption-key": "value", "--default-max-pods-per-node": "value", "--disk-size": "value", "--disk-type": [ "pd-ssd", "pd-standard" ], "--enable-autoprovisioning": "bool", "--enable-autorepair": "bool", "--enable-autoscaling": "bool", "--enable-autoupgrade": "bool", "--enable-basic-auth": "bool", "--enable-binauthz": "bool", "--enable-cloud-logging": "bool", "--enable-cloud-monitoring": "bool", "--enable-cloud-run-alpha": "bool", "--enable-intra-node-visibility": "bool", "--enable-ip-alias": "bool", "--enable-kubernetes-alpha": "bool", "--enable-legacy-authorization": "bool", "--enable-master-authorized-networks": "bool", "--enable-network-egress-metering": "bool", "--enable-network-policy": "bool", "--enable-private-endpoint": "bool", "--enable-private-nodes": "bool", "--enable-resource-consumption-metering": "bool", "--enable-shielded-nodes": "bool", "--enable-stackdriver-kubernetes": "bool", "--enable-tpu": "bool", "--enable-vertical-pod-autoscaling": "bool", "--image-type": "value", "--issue-client-certificate": "bool", "--labels": "value", "--local-ssd-count": "value", "--machine-type": "value", "--maintenance-window": "value", "--maintenance-window-end": "value", "--maintenance-window-recurrence": "value", "--maintenance-window-start": "value", "--master-authorized-networks": "value", "--master-ipv4-cidr": "value", "--max-accelerator": "value", "--max-cpu": "value", "--max-memory": "value", "--max-nodes": "value", "--max-nodes-per-pool": "value", "--max-pods-per-node": "value", "--max-surge-upgrade": "value", "--max-unavailable-upgrade": "value", "--metadata": "value", "--metadata-from-file": "value", "--min-accelerator": "value", "--min-cpu": "value", "--min-cpu-platform": "value", "--min-memory": "value", "--min-nodes": "value", "--network": "value", "--node-labels": "value", "--node-locations": "value", "--node-taints": "value", "--node-version": "value", "--num-nodes": "value", "--password": "value", "--preemptible": "bool", "--region": "value", "--reservation": "value", "--reservation-affinity": [ "any", "none", "specific" ], "--resource-usage-bigquery-dataset": "value", "--scopes": "value", "--service-account": "value", "--services-ipv4-cidr": "value", "--services-secondary-range-name": "value", "--shielded-integrity-monitoring": "bool", "--shielded-secure-boot": "bool", "--subnetwork": "value", "--tags": "value", "--tpu-ipv4-cidr": "value", "--username": "value", "--workload-metadata-from-node": [ "GCE_METADATA", "GKE_METADATA" ], "--workload-pool": "value", "--zone": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--region": "value", "--zone": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value", "--zone": "value" } }, "get-credentials": { "commands": {}, "flags": { "--internal-ip": "bool", "--region": "value", "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--uri": "bool", "--zone": "value" } }, "resize": { "commands": {}, "flags": { "--async": "bool", "--node-pool": "value", "--num-nodes": "value", "--region": "value", "--size": "value", "--zone": "value" } }, "update": { "commands": {}, "flags": { "--add-maintenance-exclusion-end": "value", "--add-maintenance-exclusion-name": "value", "--add-maintenance-exclusion-start": "value", "--async": "bool", "--autoprovisioning-config-file": "value", "--autoprovisioning-locations": "value", "--autoprovisioning-scopes": "value", "--autoprovisioning-service-account": "value", "--clear-maintenance-window": "bool", "--clear-resource-usage-bigquery-dataset": "bool", "--complete-credential-rotation": "bool", "--complete-ip-rotation": "bool", "--database-encryption-key": "value", "--disable-database-encryption": "bool", "--disable-workload-identity": "bool", "--enable-autoprovisioning": "bool", "--enable-autoscaling": "bool", "--enable-basic-auth": "bool", "--enable-binauthz": "bool", "--enable-intra-node-visibility": "bool", "--enable-legacy-authorization": "bool", "--enable-master-authorized-networks": "bool", "--enable-network-egress-metering": "bool", "--enable-network-policy": "bool", "--enable-resource-consumption-metering": "bool", "--enable-shielded-nodes": "bool", "--enable-stackdriver-kubernetes": "bool", "--enable-vertical-pod-autoscaling": "bool", "--generate-password": "bool", "--logging-service": "value", "--maintenance-window": "value", "--maintenance-window-end": "value", "--maintenance-window-recurrence": "value", "--maintenance-window-start": "value", "--master-authorized-networks": "value", "--max-accelerator": "value", "--max-cpu": "value", "--max-memory": "value", "--max-nodes": "value", "--min-accelerator": "value", "--min-cpu": "value", "--min-memory": "value", "--min-nodes": "value", "--monitoring-service": "value", "--node-locations": "value", "--node-pool": "value", "--password": "value", "--region": "value", "--remove-labels": "value", "--remove-maintenance-exclusion": "value", "--resource-usage-bigquery-dataset": "value", "--set-password": "bool", "--start-credential-rotation": "bool", "--start-ip-rotation": "bool", "--update-addons": "value", "--update-labels": "value", "--username": "value", "--workload-pool": "value", "--zone": "value" } }, "upgrade": { "commands": {}, "flags": { "--async": "bool", "--cluster-version": "value", "--image-type": "value", "--master": "bool", "--node-pool": "value", "--region": "value", "--zone": "value" } } }, "flags": { "--region": "value", "--zone": "value" } }, "get-server-config": { "commands": {}, "flags": { "--region": "value", "--zone": "value" } }, "hub": { "commands": { "memberships": { "commands": { "delete": { "commands": {}, "flags": { "--async": "bool", "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "register": { "commands": {}, "flags": { "--context": "value", "--gke-cluster": "value", "--gke-uri": "value", "--kubeconfig": "value", "--manifest-output-file": "value", "--proxy": "value", "--service-account-key-file": "value" } }, "unregister": { "commands": {}, "flags": { "--context": "value", "--gke-cluster": "value", "--gke-uri": "value", "--kubeconfig": "value" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--clear-labels": "bool", "--location": "value", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} } }, "flags": {} }, "images": { "commands": { "add-tag": { "commands": {}, "flags": {} }, "delete": { "commands": {}, "flags": { "--force-delete-tags": "bool" } }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--repository": "value", "--sort-by": "value", "--uri": "bool" } }, "list-tags": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "untag": { "commands": {}, "flags": {} } }, "flags": {} }, "node-pools": { "commands": { "create": { "commands": {}, "flags": { "--accelerator": "value", "--cluster": "value", "--disk-size": "value", "--disk-type": [ "pd-ssd", "pd-standard" ], "--enable-autoprovisioning": "bool", "--enable-autorepair": "bool", "--enable-autoscaling": "bool", "--enable-autoupgrade": "bool", "--image-type": "value", "--local-ssd-count": "value", "--machine-type": "value", "--max-nodes": "value", "--max-pods-per-node": "value", "--max-surge-upgrade": "value", "--max-unavailable-upgrade": "value", "--metadata": "value", "--metadata-from-file": "value", "--min-cpu-platform": "value", "--min-nodes": "value", "--node-labels": "value", "--node-locations": "value", "--node-taints": "value", "--node-version": "value", "--num-nodes": "value", "--preemptible": "bool", "--region": "value", "--reservation": "value", "--reservation-affinity": [ "any", "none", "specific" ], "--sandbox": "value", "--scopes": "value", "--service-account": "value", "--shielded-integrity-monitoring": "bool", "--shielded-secure-boot": "bool", "--tags": "value", "--workload-metadata-from-node": [ "GCE_METADATA", "GKE_METADATA" ], "--zone": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--cluster": "value", "--region": "value", "--zone": "value" } }, "describe": { "commands": {}, "flags": { "--cluster": "value", "--region": "value", "--zone": "value" } }, "list": { "commands": {}, "flags": { "--cluster": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--uri": "bool", "--zone": "value" } }, "rollback": { "commands": {}, "flags": { "--async": "bool", "--cluster": "value", "--region": "value", "--zone": "value" } }, "update": { "commands": {}, "flags": { "--cluster": "value", "--enable-autoprovisioning": "bool", "--enable-autorepair": "bool", "--enable-autoscaling": "bool", "--enable-autoupgrade": "bool", "--max-nodes": "value", "--max-surge-upgrade": "value", "--max-unavailable-upgrade": "value", "--min-nodes": "value", "--node-locations": "value", "--region": "value", "--workload-metadata-from-node": [ "GCE_METADATA", "GKE_METADATA" ], "--zone": "value" } } }, "flags": { "--region": "value", "--zone": "value" } }, "operations": { "commands": { "describe": { "commands": {}, "flags": { "--region": "value", "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--zone": "value" } }, "wait": { "commands": {}, "flags": { "--region": "value", "--zone": "value" } } }, "flags": { "--region": "value", "--zone": "value" } }, "subnets": { "commands": { "list-usable": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--network-project": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "data-catalog": { "commands": { "entries": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--display-name": "value", "--entry-group": "value", "--gcs-file-patterns": "value", "--linked-resource": "value", "--location": "value", "--schema": "value", "--schema-from-file": "value", "--source-system-create-time": "value", "--source-system-update-time": "value", "--type": [ "data-stream", "entry-type-unspecified", "fileset", "model", "table" ], "--user-specified-system": "value", "--user-specified-type": "value" } }, "delete": { "commands": {}, "flags": { "--entry-group": "value", "--location": "value" } }, "describe": { "commands": {}, "flags": { "--entry-group": "value", "--location": "value" } }, "list": { "commands": {}, "flags": { "--entry-group": "value", "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "lookup": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--add-file-patterns": "value", "--clear-file-patterns": "bool", "--description": "value", "--display-name": "value", "--entry-group": "value", "--linked-resource": "value", "--location": "value", "--lookup-entry": "value", "--remove-file-patterns": "value", "--schema": "value", "--schema-from-file": "value", "--user-specified-system": "value", "--user-specified-type": "value" } } }, "flags": {} }, "entry-groups": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--description": "value", "--display-name": "value", "--location": "value" } }, "delete": { "commands": {}, "flags": { "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--location": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--location": "value" } }, "update": { "commands": {}, "flags": { "--description": "value", "--display-name": "value", "--location": "value" } } }, "flags": {} }, "search": { "commands": {}, "flags": { "--include-gcp-public-datasets": "bool", "--include-organization-ids": "value", "--include-project-ids": "value", "--limit": "value", "--order-by": "value", "--page-size": "value" } }, "tag-templates": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--display-name": "value", "--field": "value", "--location": "value" } }, "delete": { "commands": {}, "flags": { "--force": "bool", "--location": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value" } }, "fields": { "commands": { "create": { "commands": {}, "flags": { "--display-name": "value", "--location": "value", "--tag-template": "value", "--type": "value" } }, "delete": { "commands": {}, "flags": { "--force": "bool", "--location": "value", "--tag-template": "value" } }, "rename": { "commands": {}, "flags": { "--location": "value", "--new-id": "value", "--tag-template": "value" } }, "update": { "commands": {}, "flags": { "--add-enum-values": "value", "--display-name": "value", "--location": "value", "--required": "bool", "--tag-template": "value" } } }, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--location": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--location": "value" } }, "update": { "commands": {}, "flags": { "--display-name": "value", "--location": "value" } } }, "flags": {} }, "tags": { "commands": { "create": { "commands": {}, "flags": { "--entry": "value", "--entry-group": "value", "--location": "value", "--scope": "value", "--tag-file": "value", "--tag-template": "value", "--tag-template-location": "value", "--tag-template-project": "value" } }, "delete": { "commands": {}, "flags": { "--entry": "value", "--entry-group": "value", "--location": "value" } }, "list": { "commands": {}, "flags": { "--entry": "value", "--entry-group": "value", "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--entry": "value", "--entry-group": "value", "--location": "value", "--tag-file": "value", "--tag-template": "value", "--tag-template-location": "value", "--tag-template-project": "value" } } }, "flags": {} } }, "flags": {} }, "dataflow": { "commands": { "jobs": { "commands": { "cancel": { "commands": {}, "flags": { "--region": "value" } }, "describe": { "commands": {}, "flags": { "--full": "bool", "--region": "value" } }, "drain": { "commands": {}, "flags": { "--region": "value" } }, "list": { "commands": {}, "flags": { "--created-after": "value", "--created-before": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--status": [ "active", "all", "terminated" ], "--uri": "bool" } }, "run": { "commands": {}, "flags": { "--dataflow-kms-key": "value", "--disable-public-ips": "bool", "--gcs-location": "value", "--max-workers": "value", "--network": "value", "--num-workers": "value", "--parameters": "value", "--region": "value", "--service-account-email": "value", "--staging-location": "value", "--subnetwork": "value", "--worker-machine-type": "value", "--worker-region": "value", "--worker-zone": "value", "--zone": "value" } }, "show": { "commands": {}, "flags": { "--environment": "bool", "--region": "value", "--steps": "bool" } } }, "flags": {} } }, "flags": {} }, "dataproc": { "commands": { "autoscaling-policies": { "commands": { "delete": { "commands": {}, "flags": { "--region": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--region": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--region": "value" } }, "import": { "commands": {}, "flags": { "--region": "value", "--source": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--uri": "bool" } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "value" } } }, "flags": {} }, "clusters": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--autoscaling-policy": "value", "--bucket": "value", "--expiration-time": "value", "--gce-pd-kms-key": "dynamic", "--gce-pd-kms-key-keyring": "dynamic", "--gce-pd-kms-key-location": "dynamic", "--gce-pd-kms-key-project": "dynamic", "--image": "value", "--image-version": "value", "--initialization-action-timeout": "value", "--initialization-actions": "value", "--kerberos-config-file": "value", "--kerberos-kms-key": "dynamic", "--kerberos-kms-key-keyring": "dynamic", "--kerberos-kms-key-location": "dynamic", "--kerberos-kms-key-project": "dynamic", "--kerberos-root-principal-password-uri": "value", "--labels": "value", "--master-accelerator": "value", "--master-boot-disk-size": "value", "--master-boot-disk-type": "value", "--master-machine-type": "value", "--master-min-cpu-platform": "value", "--max-age": "value", "--max-idle": "value", "--metadata": "value", "--network": "value", "--no-address": "bool", "--num-master-local-ssds": "value", "--num-masters": "value", "--num-secondary-worker-local-ssds": "value", "--num-secondary-workers": "value", "--num-worker-local-ssds": "value", "--num-workers": "value", "--optional-components": "value", "--properties": "value", "--region": "value", "--reservation": "value", "--reservation-affinity": [ "any", "none", "specific" ], "--scopes": "value", "--secondary-worker-accelerator": "value", "--secondary-worker-boot-disk-size": "value", "--secondary-worker-boot-disk-type": "value", "--service-account": "value", "--single-node": "bool", "--subnet": "value", "--tags": "value", "--worker-accelerator": "value", "--worker-boot-disk-size": "value", "--worker-boot-disk-type": "value", "--worker-machine-type": "value", "--worker-min-cpu-platform": "value", "--zone": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--region": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value" } }, "diagnose": { "commands": {}, "flags": { "--region": "value" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--region": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } }, "import": { "commands": {}, "flags": { "--async": "bool", "--region": "value", "--source": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "value" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--autoscaling-policy": "value", "--clear-labels": "bool", "--disable-autoscaling": "bool", "--expiration-time": "value", "--graceful-decommission-timeout": "value", "--max-age": "value", "--max-idle": "value", "--no-max-age": "bool", "--no-max-idle": "bool", "--num-secondary-workers": "value", "--num-workers": "value", "--region": "value", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "jobs": { "commands": { "delete": { "commands": {}, "flags": { "--region": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } }, "kill": { "commands": {}, "flags": { "--region": "value" } }, "list": { "commands": {}, "flags": { "--cluster": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--state-filter": [ "active", "inactive" ] } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "value" } }, "submit": { "commands": { "hadoop": { "commands": {}, "flags": { "--archives": "value", "--async": "bool", "--bucket": "value", "--class": "value", "--cluster": "value", "--driver-log-levels": "value", "--files": "value", "--jar": "value", "--jars": "value", "--labels": "value", "--max-failures-per-hour": "value", "--properties": "value", "--region": "value" } }, "hive": { "commands": {}, "flags": { "--async": "bool", "--bucket": "value", "--cluster": "value", "--continue-on-failure": "bool", "--execute": "value", "--file": "value", "--jars": "value", "--labels": "value", "--max-failures-per-hour": "value", "--params": "value", "--properties": "value", "--region": "value" } }, "pig": { "commands": {}, "flags": { "--async": "bool", "--bucket": "value", "--cluster": "value", "--continue-on-failure": "bool", "--driver-log-levels": "value", "--execute": "value", "--file": "value", "--jars": "value", "--labels": "value", "--max-failures-per-hour": "value", "--params": "value", "--properties": "value", "--region": "value" } }, "pyspark": { "commands": {}, "flags": { "--archives": "value", "--async": "bool", "--bucket": "value", "--cluster": "value", "--driver-log-levels": "value", "--files": "value", "--jars": "value", "--labels": "value", "--max-failures-per-hour": "value", "--properties": "value", "--py-files": "value", "--region": "value" } }, "spark": { "commands": {}, "flags": { "--archives": "value", "--async": "bool", "--bucket": "value", "--class": "value", "--cluster": "value", "--driver-log-levels": "value", "--files": "value", "--jar": "value", "--jars": "value", "--labels": "value", "--max-failures-per-hour": "value", "--properties": "value", "--region": "value" } }, "spark-r": { "commands": {}, "flags": { "--archives": "value", "--async": "bool", "--bucket": "value", "--cluster": "value", "--driver-log-levels": "value", "--files": "value", "--labels": "value", "--max-failures-per-hour": "value", "--properties": "value", "--region": "value" } }, "spark-sql": { "commands": {}, "flags": { "--async": "bool", "--bucket": "value", "--cluster": "value", "--driver-log-levels": "value", "--execute": "value", "--file": "value", "--jars": "value", "--labels": "value", "--max-failures-per-hour": "value", "--params": "value", "--properties": "value", "--region": "value" } } }, "flags": { "--async": "bool", "--bucket": "value", "--region": "value" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--region": "value", "--remove-labels": "value", "--update-labels": "value" } }, "wait": { "commands": {}, "flags": { "--region": "value" } } }, "flags": {} }, "operations": { "commands": { "cancel": { "commands": {}, "flags": { "--region": "value" } }, "delete": { "commands": {}, "flags": { "--region": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--cluster": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--state-filter": [ "active", "inactive" ] } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "value" } } }, "flags": {} }, "workflow-templates": { "commands": { "add-job": { "commands": { "hadoop": { "commands": {}, "flags": { "--archives": "value", "--class": "value", "--driver-log-levels": "value", "--files": "value", "--jar": "value", "--jars": "value", "--labels": "value", "--properties": "value", "--region": "value", "--start-after": "value", "--step-id": "value", "--workflow-template": "value" } }, "hive": { "commands": {}, "flags": { "--continue-on-failure": "bool", "--execute": "value", "--file": "value", "--jars": "value", "--labels": "value", "--params": "value", "--properties": "value", "--region": "value", "--start-after": "value", "--step-id": "value", "--workflow-template": "value" } }, "pig": { "commands": {}, "flags": { "--continue-on-failure": "bool", "--driver-log-levels": "value", "--execute": "value", "--file": "value", "--jars": "value", "--labels": "value", "--params": "value", "--properties": "value", "--region": "value", "--start-after": "value", "--step-id": "value", "--workflow-template": "value" } }, "pyspark": { "commands": {}, "flags": { "--archives": "value", "--driver-log-levels": "value", "--files": "value", "--jars": "value", "--labels": "value", "--properties": "value", "--py-files": "value", "--region": "value", "--start-after": "value", "--step-id": "value", "--workflow-template": "value" } }, "spark": { "commands": {}, "flags": { "--archives": "value", "--class": "value", "--driver-log-levels": "value", "--files": "value", "--jar": "value", "--jars": "value", "--labels": "value", "--properties": "value", "--region": "value", "--start-after": "value", "--step-id": "value", "--workflow-template": "value" } }, "spark-r": { "commands": {}, "flags": { "--archives": "value", "--driver-log-levels": "value", "--files": "value", "--labels": "value", "--properties": "value", "--region": "value", "--start-after": "value", "--step-id": "value", "--workflow-template": "value" } }, "spark-sql": { "commands": {}, "flags": { "--driver-log-levels": "value", "--execute": "value", "--file": "value", "--jars": "value", "--labels": "value", "--params": "value", "--properties": "value", "--region": "value", "--start-after": "value", "--step-id": "value", "--workflow-template": "value" } } }, "flags": {} }, "create": { "commands": {}, "flags": { "--labels": "value", "--region": "value" } }, "delete": { "commands": {}, "flags": { "--region": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value" } }, "export": { "commands": {}, "flags": { "--destination": "value", "--region": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--region": "value" } }, "import": { "commands": {}, "flags": { "--region": "value", "--source": "value" } }, "instantiate": { "commands": {}, "flags": { "--async": "bool", "--parameters": "value", "--region": "value" } }, "instantiate-from-file": { "commands": {}, "flags": { "--async": "bool", "--file": "value", "--region": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } }, "remove-job": { "commands": {}, "flags": { "--region": "value", "--step-id": "value" } }, "set-cluster-selector": { "commands": {}, "flags": { "--cluster-labels": "value", "--region": "value" } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "value" } }, "set-managed-cluster": { "commands": {}, "flags": { "--autoscaling-policy": "value", "--bucket": "value", "--cluster-name": "value", "--image": "value", "--image-version": "value", "--initialization-action-timeout": "value", "--initialization-actions": "value", "--kerberos-config-file": "value", "--kerberos-kms-key": "dynamic", "--kerberos-kms-key-keyring": "dynamic", "--kerberos-kms-key-location": "dynamic", "--kerberos-kms-key-project": "dynamic", "--kerberos-root-principal-password-uri": "value", "--labels": "value", "--master-accelerator": "value", "--master-boot-disk-size": "value", "--master-boot-disk-type": "value", "--master-machine-type": "value", "--master-min-cpu-platform": "value", "--metadata": "value", "--network": "value", "--no-address": "bool", "--num-master-local-ssds": "value", "--num-masters": "value", "--num-secondary-worker-local-ssds": "value", "--num-secondary-workers": "value", "--num-worker-local-ssds": "value", "--num-workers": "value", "--optional-components": "value", "--properties": "value", "--region": "value", "--reservation": "value", "--reservation-affinity": [ "any", "none", "specific" ], "--scopes": "value", "--secondary-worker-accelerator": "value", "--secondary-worker-boot-disk-size": "value", "--secondary-worker-boot-disk-type": "value", "--service-account": "value", "--single-node": "bool", "--subnet": "value", "--tags": "value", "--worker-accelerator": "value", "--worker-boot-disk-size": "value", "--worker-boot-disk-type": "value", "--worker-machine-type": "value", "--worker-min-cpu-platform": "value", "--zone": "value" } } }, "flags": {} } }, "flags": {} }, "datastore": { "commands": { "export": { "commands": {}, "flags": { "--async": "bool", "--kinds": "value", "--namespaces": "value", "--operation-labels": "value" } }, "import": { "commands": {}, "flags": { "--async": "bool", "--kinds": "value", "--namespaces": "value", "--operation-labels": "value" } }, "indexes": { "commands": { "cleanup": { "commands": {}, "flags": {} }, "create": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "operations": { "commands": { "cancel": { "commands": {}, "flags": {} }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "debug": { "commands": { "logpoints": { "commands": { "create": { "commands": {}, "flags": { "--condition": "value", "--log-level": [ "error", "info", "warning" ], "--target": "value", "--wait": "value" } }, "delete": { "commands": {}, "flags": { "--all-users": "bool", "--include-inactive": "bool", "--location": "value", "--target": "value" } }, "list": { "commands": {}, "flags": { "--all-users": "bool", "--filter": "value", "--include-inactive": "value", "--limit": "value", "--location": "value", "--sort-by": "value", "--target": "value" } } }, "flags": { "--target": "value" } }, "snapshots": { "commands": { "create": { "commands": {}, "flags": { "--condition": "value", "--expression": "value", "--target": "value", "--wait": "value" } }, "delete": { "commands": {}, "flags": { "--all-users": "bool", "--include-inactive": "bool", "--location": "value", "--target": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value", "--target": "value" } }, "list": { "commands": {}, "flags": { "--all-users": "bool", "--filter": "value", "--include-inactive": "value", "--limit": "value", "--location": "value", "--sort-by": "value", "--target": "value" } }, "wait": { "commands": {}, "flags": { "--all": "bool", "--all-users": "bool", "--filter": "value", "--limit": "value", "--location": "value", "--sort-by": "value", "--target": "value", "--timeout": "value" } } }, "flags": { "--target": "value" } }, "source": { "commands": { "gen-repo-info-file": { "commands": {}, "flags": { "--output-directory": "value", "--source-directory": "value" } } }, "flags": {} }, "targets": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--include-inactive": "bool", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "deployment-manager": { "commands": { "deployments": { "commands": { "cancel-preview": { "commands": {}, "flags": { "--async": "bool", "--fingerprint": "value" } }, "create": { "commands": {}, "flags": { "--async": "bool", "--automatic-rollback-on-error": "bool", "--composite-type": "value", "--config": "value", "--description": "value", "--labels": "value", "--preview": "bool", "--properties": "value", "--template": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--delete-policy": [ "abandon", "delete" ] } }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--simple-list": "bool", "--sort-by": "value", "--uri": "bool" } }, "stop": { "commands": {}, "flags": { "--async": "bool", "--fingerprint": "value" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--composite-type": "value", "--config": "value", "--create-policy": [ "acquire", "create-or-acquire" ], "--delete-policy": [ "abandon", "delete" ], "--description": "value", "--fingerprint": "value", "--preview": "bool", "--properties": "value", "--remove-labels": "value", "--template": "value", "--update-labels": "value" } } }, "flags": {} }, "manifests": { "commands": { "describe": { "commands": {}, "flags": { "--deployment": "value" } }, "list": { "commands": {}, "flags": { "--deployment": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--simple-list": "bool", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--simple-list": "bool", "--sort-by": "value", "--uri": "bool" } }, "wait": { "commands": {}, "flags": {} } }, "flags": {} }, "resources": { "commands": { "describe": { "commands": {}, "flags": { "--deployment": "value" } }, "list": { "commands": {}, "flags": { "--deployment": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--simple-list": "bool", "--sort-by": "value", "--uri": "bool" } } }, "flags": { "--deployment": "value" } }, "types": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value" } } }, "flags": {} } }, "flags": {} }, "dns": { "commands": { "dns-keys": { "commands": { "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--sort-by": "value", "--zone": "dynamic" } } }, "flags": {} }, "managed-zones": { "commands": { "create": { "commands": {}, "flags": { "--denial-of-existence": [ "nsec", "nsec3" ], "--description": "value", "--dns-name": "value", "--dnssec-state": [ "off", "on", "transfer" ], "--forwarding-targets": "value", "--ksk-algorithm": [ "ecdsap256sha256", "ecdsap384sha384", "rsasha1", "rsasha256", "rsasha512" ], "--ksk-key-length": "value", "--labels": "value", "--networks": "value", "--target-network": "value", "--target-project": "value", "--visibility": [ "private", "public" ], "--zsk-algorithm": [ "ecdsap256sha256", "ecdsap384sha384", "rsasha1", "rsasha256", "rsasha512" ], "--zsk-key-length": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--clear-labels": "bool", "--denial-of-existence": [ "nsec", "nsec3" ], "--description": "value", "--dnssec-state": [ "off", "on", "transfer" ], "--forwarding-targets": "value", "--ksk-algorithm": [ "ecdsap256sha256", "ecdsap384sha384", "rsasha1", "rsasha256", "rsasha512" ], "--ksk-key-length": "value", "--networks": "value", "--remove-labels": "value", "--target-network": "value", "--target-project": "value", "--update-labels": "value", "--zsk-algorithm": [ "ecdsap256sha256", "ecdsap384sha384", "rsasha1", "rsasha256", "rsasha512" ], "--zsk-key-length": "value" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--sort-by": "value", "--zones": "dynamic" } } }, "flags": {} }, "policies": { "commands": { "create": { "commands": {}, "flags": { "--alternative-name-servers": "value", "--description": "value", "--enable-inbound-forwarding": "bool", "--enable-logging": "bool", "--networks": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--alternative-name-servers": "value", "--description": "value", "--enable-inbound-forwarding": "bool", "--enable-logging": "bool", "--networks": "value" } } }, "flags": {} }, "project-info": { "commands": { "describe": { "commands": {}, "flags": {} } }, "flags": {} }, "record-sets": { "commands": { "changes": { "commands": { "describe": { "commands": {}, "flags": { "--zone": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--sort-order": [ "ascending", "descending" ], "--uri": "bool", "--zone": "dynamic" } } }, "flags": {} }, "export": { "commands": {}, "flags": { "--zone": "dynamic", "--zone-file-format": "bool" } }, "import": { "commands": {}, "flags": { "--delete-all-existing": "bool", "--replace-origin-ns": "bool", "--zone": "dynamic", "--zone-file-format": "bool" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--name": "value", "--page-size": "value", "--sort-by": "value", "--type": "value", "--uri": "bool", "--zone": "dynamic" } }, "transaction": { "commands": { "abort": { "commands": {}, "flags": { "--transaction-file": "value", "--zone": "dynamic" } }, "add": { "commands": {}, "flags": { "--name": "value", "--transaction-file": "value", "--ttl": "value", "--type": "value", "--zone": "dynamic" } }, "describe": { "commands": {}, "flags": { "--transaction-file": "value", "--zone": "dynamic" } }, "execute": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--transaction-file": "value", "--uri": "bool", "--zone": "dynamic" } }, "remove": { "commands": {}, "flags": { "--name": "value", "--transaction-file": "value", "--ttl": "value", "--type": "value", "--zone": "dynamic" } }, "start": { "commands": {}, "flags": { "--transaction-file": "value", "--zone": "dynamic" } } }, "flags": { "--transaction-file": "value" } } }, "flags": {} } }, "flags": {} }, "docker": { "commands": {}, "flags": { "--authorize-only": "bool", "--docker-host": "value", "--server": "value" } }, "domains": { "commands": { "list-user-verified": { "commands": {}, "flags": {} }, "verify": { "commands": {}, "flags": {} } }, "flags": {} }, "endpoints": { "commands": { "configs": { "commands": { "describe": { "commands": {}, "flags": { "--service": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--service": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--service": "dynamic", "--sort-by": "value", "--uri": "bool" } }, "wait": { "commands": {}, "flags": {} } }, "flags": {} }, "services": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "check-iam-policy": { "commands": {}, "flags": {} }, "delete": { "commands": {}, "flags": { "--async": "bool" } }, "deploy": { "commands": {}, "flags": { "--async": "bool", "--force": "bool", "--validate-only": "bool" } }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "undelete": { "commands": {}, "flags": { "--async": "bool" } } }, "flags": {} } }, "flags": {} }, "feedback": { "commands": {}, "flags": { "--log-file": "value" } }, "filestore": { "commands": { "instances": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--description": "value", "--file-share": "value", "--labels": "value", "--location": "value", "--network": "value", "--tier": [ "premium", "standard" ], "--zone": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--location": "value", "--zone": "value" } }, "describe": { "commands": {}, "flags": { "--location": "value", "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool", "--zone": "value" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--clear-labels": "bool", "--description": "value", "--file-share": "value", "--location": "value", "--remove-labels": "value", "--update-labels": "value", "--zone": "value" } } }, "flags": {} }, "locations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": { "--location": "value", "--zone": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool", "--zone": "value" } } }, "flags": {} }, "regions": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} }, "zones": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} } }, "flags": {} }, "firebase": { "commands": { "test": { "commands": { "android": { "commands": { "locales": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} }, "models": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} }, "run": { "commands": {}, "flags": { "--app": "value", "--app-package": "value", "--async": "bool", "--auto-google-login": "bool", "--device": "value", "--device-ids": "value", "--directories-to-pull": "value", "--environment-variables": "value", "--filter": "value", "--limit": "value", "--locales": "value", "--num-flaky-test-attempts": "value", "--obb-files": "value", "--orientations": "dynamic", "--os-version-ids": "value", "--page-size": "value", "--performance-metrics": "bool", "--record-video": "bool", "--results-bucket": "value", "--results-dir": "value", "--results-history-name": "value", "--robo-directives": "value", "--scenario-labels": "value", "--scenario-numbers": "value", "--sort-by": "value", "--test": "value", "--test-package": "value", "--test-runner-class": "value", "--test-targets": "value", "--timeout": "value", "--type": [ "game-loop", "instrumentation", "robo" ], "--use-orchestrator": "bool" } }, "versions": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} } }, "flags": {} }, "ios": { "commands": { "locales": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} }, "models": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} }, "run": { "commands": {}, "flags": { "--async": "bool", "--device": "value", "--filter": "value", "--limit": "value", "--num-flaky-test-attempts": "value", "--page-size": "value", "--record-video": "bool", "--results-bucket": "value", "--results-dir": "value", "--results-history-name": "value", "--sort-by": "value", "--test": "value", "--timeout": "value", "--type": [ "game-loop", "xctest" ], "--xcode-version": "value", "--xctestrun-file": "value" } }, "versions": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} } }, "flags": {} }, "network-profiles": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} } }, "flags": {} } }, "flags": {} }, "firestore": { "commands": { "export": { "commands": {}, "flags": { "--async": "bool", "--collection-ids": "value" } }, "import": { "commands": {}, "flags": { "--async": "bool", "--collection-ids": "value" } }, "indexes": { "commands": { "composite": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--collection-group": "value", "--field-config": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "fields": { "commands": { "describe": { "commands": {}, "flags": { "--collection-group": "value" } }, "list": { "commands": {}, "flags": { "--collection-group": "value", "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--clear-exemption": "bool", "--collection-group": "value", "--disable-indexes": "bool", "--index": "value" } } }, "flags": {} } }, "flags": {} }, "operations": { "commands": { "cancel": { "commands": {}, "flags": {} }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "functions": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--region": "dynamic", "--role": "value" } }, "call": { "commands": {}, "flags": { "--data": "value", "--region": "dynamic" } }, "delete": { "commands": {}, "flags": { "--region": "dynamic" } }, "deploy": { "commands": {}, "flags": { "--allow-unauthenticated": "bool", "--clear-env-vars": "bool", "--clear-labels": "bool", "--clear-max-instances": "bool", "--clear-vpc-connector": "bool", "--egress-settings": [ "all", "private-ranges-only" ], "--entry-point": "value", "--env-vars-file": "value", "--ignore-file": "value", "--ingress-settings": [ "all", "internal-only" ], "--max-instances": "value", "--memory": "value", "--region": "dynamic", "--remove-env-vars": "value", "--remove-labels": "value", "--retry": "bool", "--runtime": "value", "--service-account": "value", "--set-env-vars": "value", "--source": "value", "--stage-bucket": "value", "--timeout": "value", "--trigger-bucket": "value", "--trigger-event": "value", "--trigger-http": "bool", "--trigger-resource": "value", "--trigger-topic": "value", "--update-env-vars": "value", "--update-labels": "value", "--vpc-connector": "value" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "event-types": { "commands": { "list": { "commands": {}, "flags": {} } }, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--regions": "value", "--sort-by": "value", "--uri": "bool" } }, "logs": { "commands": { "read": { "commands": {}, "flags": { "--end-time": "value", "--execution-id": "value", "--filter": "value", "--limit": "value", "--min-log-level": [ "debug", "error", "info" ], "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--start-time": "value", "--uri": "bool" } } }, "flags": {} }, "regions": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--region": "dynamic", "--role": "value" } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "dynamic" } } }, "flags": {} }, "help": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "iam": { "commands": { "list-grantable-roles": { "commands": {}, "flags": { "--filter": "value", "--page-size": "value" } }, "list-testable-permissions": { "commands": {}, "flags": { "--filter": "value" } }, "roles": { "commands": { "copy": { "commands": {}, "flags": { "--dest-organization": "value", "--dest-project": "value", "--destination": "value", "--source": "value", "--source-organization": "value", "--source-project": "value" } }, "create": { "commands": {}, "flags": { "--description": "value", "--file": "value", "--organization": "value", "--permissions": "value", "--stage": "value", "--title": "value" } }, "delete": { "commands": {}, "flags": { "--organization": "value" } }, "describe": { "commands": {}, "flags": { "--organization": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--organization": "value", "--show-deleted": "bool", "--sort-by": "value" } }, "undelete": { "commands": {}, "flags": { "--organization": "value" } }, "update": { "commands": {}, "flags": { "--add-permissions": "value", "--description": "value", "--file": "value", "--organization": "value", "--permissions": "value", "--remove-permissions": "value", "--stage": "value", "--title": "value" } } }, "flags": {} }, "service-accounts": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--description": "value", "--display-name": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "disable": { "commands": {}, "flags": {} }, "enable": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "keys": { "commands": { "create": { "commands": {}, "flags": { "--iam-account": "value", "--key-file-type": [ "json", "p12" ] } }, "delete": { "commands": {}, "flags": { "--iam-account": "value" } }, "list": { "commands": {}, "flags": { "--created-before": "value", "--filter": "value", "--iam-account": "value", "--limit": "value", "--managed-by": [ "any", "system", "user" ], "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "sign-blob": { "commands": {}, "flags": { "--iam-account": "value" } }, "update": { "commands": {}, "flags": { "--description": "value", "--display-name": "value" } } }, "flags": {} } }, "flags": {} }, "iap": { "commands": { "settings": { "commands": { "get": { "commands": {}, "flags": { "--folder": "value", "--organization": "value", "--resource-type": [ "app-engine", "compute", "folder", "iap_web", "organization" ], "--service": "value" } }, "set": { "commands": {}, "flags": { "--folder": "value", "--organization": "value", "--resource-type": [ "app-engine", "compute", "folder", "iap_web", "organization" ], "--service": "value" } } }, "flags": {} }, "web": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--condition": "value", "--condition-from-file": "value", "--member": "value", "--resource-type": [ "app-engine", "backend-services" ], "--role": "value", "--service": "value" } }, "disable": { "commands": {}, "flags": { "--resource-type": [ "app-engine", "backend-services" ], "--service": "value" } }, "enable": { "commands": {}, "flags": { "--oauth2-client-id": "value", "--oauth2-client-secret": "value", "--resource-type": [ "app-engine", "backend-services" ], "--service": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--resource-type": [ "app-engine", "backend-services" ], "--service": "value", "--sort-by": "value" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--condition": "value", "--condition-from-file": "value", "--member": "value", "--resource-type": [ "app-engine", "backend-services" ], "--role": "value", "--service": "value" } }, "set-iam-policy": { "commands": {}, "flags": { "--resource-type": [ "app-engine", "backend-services" ], "--service": "value" } } }, "flags": {} } }, "flags": {} }, "info": { "commands": {}, "flags": { "--anonymize": "bool", "--run-diagnostics": "bool", "--show-log": "bool" } }, "init": { "commands": {}, "flags": { "--console-only": "bool", "--skip-diagnostics": "bool" } }, "iot": { "commands": { "devices": { "commands": { "commands": { "commands": { "send": { "commands": {}, "flags": { "--command-data": "value", "--command-file": "value", "--device": "dynamic", "--region": "value", "--registry": "dynamic", "--subfolder": "value" } } }, "flags": {} }, "configs": { "commands": { "describe": { "commands": {}, "flags": { "--device": "dynamic", "--region": "value", "--registry": "dynamic" } }, "get-value": { "commands": {}, "flags": { "--device": "dynamic", "--region": "value", "--registry": "dynamic" } }, "list": { "commands": {}, "flags": { "--device": "dynamic", "--filter": "value", "--limit": "value", "--region": "value", "--registry": "dynamic", "--sort-by": "value" } }, "update": { "commands": {}, "flags": { "--config-data": "value", "--config-file": "value", "--device": "dynamic", "--region": "value", "--registry": "dynamic", "--version-to-update": "value" } } }, "flags": {} }, "create": { "commands": {}, "flags": { "--auth-method": [ "association-and-device-auth-token", "association-only", "device-auth-token-only" ], "--blocked": "bool", "--device-type": [ "gateway", "non-gateway" ], "--log-level": [ "debug", "error", "info", "none" ], "--metadata": "value", "--metadata-from-file": "value", "--public-key": "value", "--region": "value", "--registry": "dynamic" } }, "credentials": { "commands": { "clear": { "commands": {}, "flags": { "--device": "dynamic", "--region": "value", "--registry": "dynamic" } }, "create": { "commands": {}, "flags": { "--device": "dynamic", "--expiration-time": "value", "--path": "value", "--region": "value", "--registry": "dynamic", "--type": [ "es256", "es256-pem", "es256-x509-pem", "rs256", "rsa-pem", "rsa-x509-pem" ] } }, "delete": { "commands": {}, "flags": { "--device": "dynamic", "--region": "value", "--registry": "dynamic" } }, "describe": { "commands": {}, "flags": { "--device": "dynamic", "--region": "value", "--registry": "dynamic" } }, "list": { "commands": {}, "flags": { "--device": "dynamic", "--filter": "value", "--limit": "value", "--region": "value", "--registry": "dynamic", "--sort-by": "value" } }, "update": { "commands": {}, "flags": { "--device": "dynamic", "--expiration-time": "value", "--region": "value", "--registry": "dynamic" } } }, "flags": {} }, "delete": { "commands": {}, "flags": { "--region": "value", "--registry": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "value", "--registry": "dynamic" } }, "gateways": { "commands": { "bind": { "commands": {}, "flags": { "--device": "dynamic", "--device-region": "value", "--device-registry": "dynamic", "--gateway": "dynamic", "--gateway-region": "value", "--gateway-registry": "dynamic" } }, "list-bound-devices": { "commands": {}, "flags": { "--filter": "value", "--gateway": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--registry": "dynamic", "--sort-by": "value" } }, "unbind": { "commands": {}, "flags": { "--device": "dynamic", "--device-region": "value", "--device-registry": "dynamic", "--gateway": "dynamic", "--gateway-region": "value", "--gateway-registry": "dynamic" } } }, "flags": {} }, "list": { "commands": {}, "flags": { "--device-ids": "value", "--device-num-ids": "value", "--device-type": [ "gateway", "non-gateway" ], "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--registry": "dynamic", "--sort-by": "value", "--uri": "bool" } }, "states": { "commands": { "list": { "commands": {}, "flags": { "--device": "dynamic", "--filter": "value", "--limit": "value", "--region": "value", "--registry": "dynamic", "--sort-by": "value" } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--blocked": "bool", "--log-level": [ "debug", "error", "info", "none" ], "--metadata": "value", "--metadata-from-file": "value", "--region": "value", "--registry": "dynamic" } } }, "flags": {} }, "registries": { "commands": { "create": { "commands": {}, "flags": { "--enable-http-config": "bool", "--enable-mqtt-config": "bool", "--event-notification-config": "value", "--log-level": [ "debug", "error", "info", "none" ], "--public-key-path": "value", "--region": "value", "--state-pubsub-topic": "value" } }, "credentials": { "commands": { "clear": { "commands": {}, "flags": { "--region": "value", "--registry": "dynamic" } }, "create": { "commands": {}, "flags": { "--path": "value", "--region": "value", "--registry": "dynamic" } }, "delete": { "commands": {}, "flags": { "--region": "value", "--registry": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "value", "--registry": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--region": "value", "--registry": "dynamic", "--sort-by": "value" } } }, "flags": {} }, "delete": { "commands": {}, "flags": { "--region": "value" } }, "describe": { "commands": {}, "flags": { "--region": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value", "--uri": "bool" } }, "set-iam-policy": { "commands": {}, "flags": { "--region": "value" } }, "update": { "commands": {}, "flags": { "--enable-http-config": "bool", "--enable-mqtt-config": "bool", "--event-notification-config": "value", "--log-level": [ "debug", "error", "info", "none" ], "--region": "value", "--state-pubsub-topic": "value" } } }, "flags": {} } }, "flags": {} }, "kms": { "commands": { "asymmetric-decrypt": { "commands": {}, "flags": { "--ciphertext-file": "value", "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic", "--plaintext-file": "value" } }, "asymmetric-sign": { "commands": {}, "flags": { "--digest-algorithm": [ "sha256", "sha384", "sha512" ], "--input-file": "value", "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic", "--signature-file": "value" } }, "decrypt": { "commands": {}, "flags": { "--additional-authenticated-data-file": "value", "--ciphertext-file": "value", "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic", "--plaintext-file": "value" } }, "encrypt": { "commands": {}, "flags": { "--additional-authenticated-data-file": "value", "--ciphertext-file": "value", "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic", "--plaintext-file": "value" } }, "import-jobs": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--keyring": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--import-method": [ "rsa-oaep-3072-sha1-aes-256", "rsa-oaep-4096-sha1-aes-256" ], "--keyring": "dynamic", "--location": "dynamic", "--protection-level": [ "hsm", "software" ] } }, "describe": { "commands": {}, "flags": { "--attestation-file": "value", "--keyring": "dynamic", "--location": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--keyring": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--keyring": "dynamic", "--limit": "value", "--location": "dynamic", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--keyring": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--keyring": "value", "--location": "value" } } }, "flags": {} }, "keyrings": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--location": "dynamic" } }, "describe": { "commands": {}, "flags": { "--location": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "dynamic", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "dynamic", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--location": "value", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--location": "dynamic" } } }, "flags": {} }, "keys": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--keyring": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--default-algorithm": [ "ec-sign-p256-sha256", "ec-sign-p384-sha384", "external-symmetric-encryption", "google-symmetric-encryption", "rsa-decrypt-oaep-2048-sha256", "rsa-decrypt-oaep-3072-sha256", "rsa-decrypt-oaep-4096-sha256", "rsa-decrypt-oaep-4096-sha512", "rsa-sign-pkcs1-2048-sha256", "rsa-sign-pkcs1-3072-sha256", "rsa-sign-pkcs1-4096-sha256", "rsa-sign-pkcs1-4096-sha512", "rsa-sign-pss-2048-sha256", "rsa-sign-pss-3072-sha256", "rsa-sign-pss-4096-sha256", "rsa-sign-pss-4096-sha512" ], "--keyring": "dynamic", "--labels": "value", "--location": "dynamic", "--next-rotation-time": "value", "--protection-level": [ "external", "hsm", "software" ], "--purpose": [ "asymmetric-encryption", "asymmetric-signing", "encryption" ], "--rotation-period": "value", "--skip-initial-version-creation": "bool" } }, "describe": { "commands": {}, "flags": { "--keyring": "dynamic", "--location": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--keyring": "dynamic", "--limit": "value", "--location": "dynamic", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--keyring": "dynamic", "--limit": "value", "--location": "dynamic", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--keyring": "value", "--location": "value", "--member": "value", "--role": "dynamic" } }, "remove-rotation-schedule": { "commands": {}, "flags": { "--keyring": "dynamic", "--location": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--keyring": "dynamic", "--location": "dynamic" } }, "set-primary-version": { "commands": {}, "flags": { "--keyring": "dynamic", "--location": "dynamic" } }, "set-rotation-schedule": { "commands": {}, "flags": { "--keyring": "dynamic", "--location": "dynamic", "--next-rotation-time": "value", "--rotation-period": "value" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--default-algorithm": [ "ec-sign-p256-sha256", "ec-sign-p384-sha384", "external-symmetric-encryption", "google-symmetric-encryption", "rsa-decrypt-oaep-2048-sha256", "rsa-decrypt-oaep-3072-sha256", "rsa-decrypt-oaep-4096-sha256", "rsa-decrypt-oaep-4096-sha512", "rsa-sign-pkcs1-2048-sha256", "rsa-sign-pkcs1-3072-sha256", "rsa-sign-pkcs1-4096-sha256", "rsa-sign-pkcs1-4096-sha512", "rsa-sign-pss-2048-sha256", "rsa-sign-pss-3072-sha256", "rsa-sign-pss-4096-sha256", "rsa-sign-pss-4096-sha512" ], "--keyring": "dynamic", "--location": "dynamic", "--next-rotation-time": "value", "--primary-version": "dynamic", "--remove-labels": "value", "--remove-rotation-schedule": "bool", "--rotation-period": "value", "--update-labels": "value" } }, "versions": { "commands": { "create": { "commands": {}, "flags": { "--external-key-uri": "value", "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic", "--primary": "bool" } }, "describe": { "commands": {}, "flags": { "--attestation-file": "value", "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic" } }, "destroy": { "commands": {}, "flags": { "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic" } }, "disable": { "commands": {}, "flags": { "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic" } }, "enable": { "commands": {}, "flags": { "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic" } }, "get-public-key": { "commands": {}, "flags": { "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic", "--output-file": "value" } }, "import": { "commands": {}, "flags": { "--algorithm": [ "ec-sign-p256-sha256", "ec-sign-p384-sha384", "google-symmetric-encryption", "rsa-decrypt-oaep-2048-sha256", "rsa-decrypt-oaep-3072-sha256", "rsa-decrypt-oaep-4096-sha256", "rsa-decrypt-oaep-4096-sha512", "rsa-sign-pkcs1-2048-sha256", "rsa-sign-pkcs1-3072-sha256", "rsa-sign-pkcs1-4096-sha256", "rsa-sign-pkcs1-4096-sha512", "rsa-sign-pss-2048-sha256", "rsa-sign-pss-3072-sha256", "rsa-sign-pss-4096-sha256", "rsa-sign-pss-4096-sha512" ], "--import-job": "dynamic", "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic", "--public-key-file": "value", "--rsa-aes-wrapped-key-file": "value", "--target-key-file": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--key": "dynamic", "--keyring": "dynamic", "--limit": "value", "--location": "dynamic", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "restore": { "commands": {}, "flags": { "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic" } }, "update": { "commands": {}, "flags": { "--external-key-uri": "value", "--key": "dynamic", "--keyring": "dynamic", "--location": "dynamic", "--state": "value" } } }, "flags": {} } }, "flags": {} }, "locations": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "logging": { "commands": { "logs": { "commands": { "delete": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--sort-by": "value" } } }, "flags": {} }, "metrics": { "commands": { "create": { "commands": {}, "flags": { "--description": "value", "--log-filter": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--sort-by": "value" } }, "update": { "commands": {}, "flags": { "--description": "value", "--log-filter": "value" } } }, "flags": {} }, "read": { "commands": {}, "flags": { "--billing-account": "value", "--folder": "value", "--freshness": "value", "--limit": "value", "--order": [ "asc", "desc" ], "--organization": "dynamic" } }, "resource-descriptors": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--sort-by": "value" } } }, "flags": {} }, "sinks": { "commands": { "create": { "commands": {}, "flags": { "--billing-account": "value", "--folder": "value", "--include-children": "bool", "--log-filter": "value", "--organization": "dynamic" } }, "delete": { "commands": {}, "flags": { "--billing-account": "value", "--folder": "value", "--organization": "dynamic" } }, "describe": { "commands": {}, "flags": { "--billing-account": "value", "--folder": "value", "--organization": "dynamic" } }, "list": { "commands": {}, "flags": { "--billing-account": "value", "--filter": "value", "--folder": "value", "--limit": "value", "--organization": "dynamic", "--sort-by": "value" } }, "update": { "commands": {}, "flags": { "--billing-account": "value", "--folder": "value", "--log-filter": "value", "--organization": "dynamic" } } }, "flags": {} }, "write": { "commands": {}, "flags": { "--billing-account": "value", "--folder": "value", "--organization": "dynamic", "--payload-type": [ "json", "text" ], "--severity": [ "ALERT", "CRITICAL", "DEBUG", "DEFAULT", "EMERGENCY", "ERROR", "INFO", "NOTICE", "WARNING" ] } } }, "flags": {} }, "ml": { "commands": { "language": { "commands": { "analyze-entities": { "commands": {}, "flags": { "--content": "value", "--content-file": "value", "--content-type": [ "html", "plain-text" ], "--encoding-type": [ "none", "utf16", "utf32", "utf8" ], "--language": "value" } }, "analyze-entity-sentiment": { "commands": {}, "flags": { "--content": "value", "--content-file": "value", "--content-type": [ "html", "plain-text" ], "--encoding-type": [ "none", "utf16", "utf32", "utf8" ], "--language": "value" } }, "analyze-sentiment": { "commands": {}, "flags": { "--content": "value", "--content-file": "value", "--content-type": [ "html", "plain-text" ], "--encoding-type": [ "none", "utf16", "utf32", "utf8" ], "--language": "value" } }, "analyze-syntax": { "commands": {}, "flags": { "--content": "value", "--content-file": "value", "--content-type": [ "html", "plain-text" ], "--encoding-type": [ "none", "utf16", "utf32", "utf8" ], "--language": "value" } }, "classify-text": { "commands": {}, "flags": { "--content": "value", "--content-file": "value", "--content-type": [ "html", "plain-text" ], "--language": "value" } } }, "flags": {} }, "speech": { "commands": { "operations": { "commands": { "describe": { "commands": {}, "flags": {} }, "wait": { "commands": {}, "flags": {} } }, "flags": {} }, "recognize": { "commands": {}, "flags": { "--encoding": [ "amr", "amr-wb", "encoding-unspecified", "flac", "linear16", "mulaw", "ogg-opus", "speex-with-header-byte" ], "--filter-profanity": "bool", "--hints": "value", "--include-word-time-offsets": "bool", "--language-code": "value", "--max-alternatives": "value", "--sample-rate": "value" } }, "recognize-long-running": { "commands": {}, "flags": { "--async": "bool", "--encoding": [ "amr", "amr-wb", "encoding-unspecified", "flac", "linear16", "mulaw", "ogg-opus", "speex-with-header-byte" ], "--filter-profanity": "bool", "--hints": "value", "--include-word-time-offsets": "bool", "--language-code": "value", "--max-alternatives": "value", "--sample-rate": "value" } } }, "flags": {} }, "video": { "commands": { "detect-explicit-content": { "commands": {}, "flags": { "--async": "bool", "--output-uri": "value", "--region": [ "asia-east1", "europe-west1", "us-east1", "us-west1" ], "--segments": "value" } }, "detect-labels": { "commands": {}, "flags": { "--async": "bool", "--detection-mode": [ "frame", "shot", "shot-and-frame" ], "--output-uri": "value", "--region": [ "asia-east1", "europe-west1", "us-east1", "us-west1" ], "--segments": "value" } }, "detect-shot-changes": { "commands": {}, "flags": { "--async": "bool", "--output-uri": "value", "--region": [ "asia-east1", "europe-west1", "us-east1", "us-west1" ], "--segments": "value" } }, "operations": { "commands": { "describe": { "commands": {}, "flags": { "--location": "value" } }, "wait": { "commands": {}, "flags": { "--location": "value" } } }, "flags": {} } }, "flags": {} }, "vision": { "commands": { "detect-document": { "commands": {}, "flags": { "--language-hints": "value" } }, "detect-faces": { "commands": {}, "flags": { "--max-results": "value" } }, "detect-image-properties": { "commands": {}, "flags": {} }, "detect-labels": { "commands": {}, "flags": { "--max-results": "value" } }, "detect-landmarks": { "commands": {}, "flags": { "--max-results": "value" } }, "detect-logos": { "commands": {}, "flags": { "--max-results": "value" } }, "detect-objects": { "commands": {}, "flags": {} }, "detect-safe-search": { "commands": {}, "flags": {} }, "detect-text": { "commands": {}, "flags": { "--language-hints": "value" } }, "detect-text-pdf": { "commands": {}, "flags": { "--batch-size": "value" } }, "detect-text-tiff": { "commands": {}, "flags": { "--batch-size": "value" } }, "detect-web": { "commands": {}, "flags": { "--max-results": "value" } }, "suggest-crop": { "commands": {}, "flags": { "--aspect-ratios": "value" } } }, "flags": {} } }, "flags": {} }, "ml-engine": { "commands": { "jobs": { "commands": { "cancel": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": { "--summarize": "bool" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "stream-logs": { "commands": {}, "flags": { "--allow-multiline-logs": "bool", "--polling-interval": "value", "--task-name": "value" } }, "submit": { "commands": { "prediction": { "commands": {}, "flags": { "--batch-size": "value", "--data-format": [ "text", "tf-record", "tf-record-gzip" ], "--input-paths": "value", "--labels": "value", "--max-worker-count": "value", "--model": "value", "--model-dir": "value", "--output-path": "value", "--region": "value", "--runtime-version": "value", "--signature-name": "value" } }, "training": { "commands": {}, "flags": { "--async": "bool", "--config": "value", "--job-dir": "value", "--labels": "value", "--master-accelerator": "value", "--master-image-uri": "value", "--master-machine-type": "value", "--module-name": "value", "--package-path": "value", "--packages": "value", "--parameter-server-accelerator": "value", "--parameter-server-count": "value", "--parameter-server-image-uri": "value", "--parameter-server-machine-type": "value", "--python-version": "value", "--region": "dynamic", "--runtime-version": "value", "--scale-tier": [ "basic", "basic-gpu", "basic-tpu", "custom", "premium-1", "standard-1" ], "--staging-bucket": "value", "--stream-logs": "bool", "--use-chief-in-tf-config": "value", "--worker-accelerator": "value", "--worker-count": "value", "--worker-image-uri": "value", "--worker-machine-type": "value" } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "local": { "commands": { "predict": { "commands": {}, "flags": { "--framework": [ "scikit-learn", "tensorflow", "xgboost" ], "--json-instances": "value", "--model-dir": "value", "--signature-name": "value", "--text-instances": "value" } }, "train": { "commands": {}, "flags": { "--distributed": "bool", "--evaluator-count": "value", "--job-dir": "value", "--module-name": "value", "--package-path": "value", "--parameter-server-count": "value", "--start-port": "value", "--worker-count": "value" } } }, "flags": {} }, "models": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--description": "value", "--enable-logging": "bool", "--labels": "value", "--regions": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "value" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--description": "value", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} }, "operations": { "commands": { "cancel": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "wait": { "commands": {}, "flags": {} } }, "flags": {} }, "predict": { "commands": {}, "flags": { "--json-instances": "value", "--model": "value", "--signature-name": "value", "--text-instances": "value" } }, "versions": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--config": "value", "--description": "value", "--framework": [ "scikit-learn", "tensorflow", "xgboost" ], "--labels": "value", "--model": "value", "--origin": "value", "--python-version": "value", "--runtime-version": "value", "--staging-bucket": "value" } }, "delete": { "commands": {}, "flags": { "--model": "value" } }, "describe": { "commands": {}, "flags": { "--model": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--model": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "set-default": { "commands": {}, "flags": { "--model": "value" } }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--description": "value", "--model": "value", "--remove-labels": "value", "--update-labels": "value" } } }, "flags": {} } }, "flags": {} }, "network-management": { "commands": { "connectivity-tests": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--description": "value", "--destination-instance": "value", "--destination-ip-address": "value", "--destination-network": "value", "--destination-port": "value", "--destination-project": "value", "--labels": "value", "--other-projects": "value", "--protocol": "value", "--source-instance": "value", "--source-ip-address": "value", "--source-network": "value", "--source-network-type": [ "gcp-network", "non-gcp-network" ], "--source-project": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool" } }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "rerun": { "commands": {}, "flags": { "--async": "bool" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--clear-destination-instance": "bool", "--clear-destination-ip-address": "bool", "--clear-source-instance": "bool", "--clear-source-ip-address": "bool", "--description": "value", "--destination-instance": "value", "--destination-ip-address": "value", "--destination-network": "value", "--destination-port": "value", "--destination-project": "value", "--labels": "value", "--other-projects": "value", "--protocol": "value", "--source-instance": "value", "--source-ip-address": "value", "--source-network": "value", "--source-network-type": [ "gcp-network", "non-gcp-network" ], "--source-project": "value" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } } }, "flags": {} } }, "flags": {} }, "organizations": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} } }, "flags": {} }, "policy-troubleshoot": { "commands": { "iam": { "commands": {}, "flags": { "--permission": "value", "--principal-email": "value" } } }, "flags": {} }, "projects": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--enable-cloud-apis": "bool", "--folder": "value", "--labels": "value", "--name": "value", "--organization": "value", "--set-as-default": "bool" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-ancestors": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "undelete": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--name": "value" } } }, "flags": {} }, "pubsub": { "commands": { "snapshots": { "commands": { "create": { "commands": {}, "flags": { "--labels": "value", "--subscription": "value", "--subscription-project": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "subscriptions": { "commands": { "ack": { "commands": {}, "flags": { "--ack-ids": "value" } }, "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--ack-deadline": "value", "--dead-letter-topic": "value", "--dead-letter-topic-project": "value", "--expiration-period": "value", "--labels": "value", "--max-delivery-attempts": "value", "--message-retention-duration": "value", "--push-auth-service-account": "value", "--push-auth-token-audience": "value", "--push-endpoint": "value", "--retain-acked-messages": "bool", "--topic": "value", "--topic-project": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "modify-message-ack-deadline": { "commands": {}, "flags": { "--ack-deadline": "value", "--ack-ids": "value" } }, "modify-push-config": { "commands": {}, "flags": { "--push-auth-service-account": "value", "--push-auth-token-audience": "value", "--push-endpoint": "value" } }, "pull": { "commands": {}, "flags": { "--auto-ack": "bool", "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "seek": { "commands": {}, "flags": { "--snapshot": "value", "--snapshot-project": "value", "--time": "value" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--ack-deadline": "value", "--clear-dead-letter-policy": "bool", "--clear-labels": "bool", "--dead-letter-topic": "value", "--dead-letter-topic-project": "value", "--expiration-period": "value", "--max-delivery-attempts": "value", "--message-retention-duration": "value", "--push-auth-service-account": "value", "--push-auth-token-audience": "value", "--push-endpoint": "value", "--remove-labels": "value", "--retain-acked-messages": "bool", "--update-labels": "value" } } }, "flags": {} }, "topics": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--labels": "value", "--message-storage-policy-allowed-regions": "value", "--topic-encryption-key": "dynamic", "--topic-encryption-key-keyring": "dynamic", "--topic-encryption-key-location": "dynamic", "--topic-encryption-key-project": "dynamic" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "list-subscriptions": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "publish": { "commands": {}, "flags": { "--attribute": "value", "--message": "value" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--message-storage-policy-allowed-regions": "value", "--recompute-message-storage-policy": "bool", "--remove-labels": "value", "--topic-encryption-key": "dynamic", "--topic-encryption-key-keyring": "dynamic", "--topic-encryption-key-location": "dynamic", "--topic-encryption-key-project": "dynamic", "--update-labels": "value" } } }, "flags": {} } }, "flags": {} }, "recommender": { "commands": { "recommendations": { "commands": { "describe": { "commands": {}, "flags": { "--location": "value", "--recommender": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--recommender": "value", "--sort-by": "value", "--uri": "bool" } }, "mark-claimed": { "commands": {}, "flags": { "--etag": "value", "--location": "value", "--recommender": "value", "--state-metadata": "value" } }, "mark-failed": { "commands": {}, "flags": { "--etag": "value", "--location": "value", "--recommender": "value", "--state-metadata": "value" } }, "mark-succeeded": { "commands": {}, "flags": { "--etag": "value", "--location": "value", "--recommender": "value", "--state-metadata": "value" } } }, "flags": {} } }, "flags": {} }, "redis": { "commands": { "instances": { "commands": { "create": { "commands": {}, "flags": { "--alternative-zone": "value", "--async": "bool", "--connect-mode": [ "connect-mode-unspecified", "direct-peering", "private-service-access" ], "--display-name": "value", "--labels": "value", "--network": "value", "--redis-config": "value", "--redis-version": [ "redis_3_2", "redis_4_0" ], "--region": "dynamic", "--reserved-ip-range": "value", "--size": "value", "--tier": [ "basic", "standard" ], "--zone": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "export": { "commands": {}, "flags": { "--async": "bool", "--region": "dynamic" } }, "failover": { "commands": {}, "flags": { "--async": "bool", "--data-protection-mode": [ "force-data-loss", "limited-data-loss" ], "--region": "dynamic" } }, "import": { "commands": {}, "flags": { "--async": "bool", "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--clear-labels": "bool", "--display-name": "value", "--region": "dynamic", "--remove-labels": "value", "--remove-redis-config": "value", "--size": "value", "--update-labels": "value", "--update-redis-config": "value" } } }, "flags": {} }, "operations": { "commands": { "cancel": { "commands": {}, "flags": { "--region": "dynamic" } }, "describe": { "commands": {}, "flags": { "--region": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "dynamic", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "regions": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "zones": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--region": "value", "--sort-by": "value" } } }, "flags": {} } }, "flags": {} }, "resource-manager": { "commands": { "folders": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--async": "bool", "--display-name": "value", "--folder": "value", "--organization": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--folder": "value", "--limit": "value", "--organization": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "move": { "commands": {}, "flags": { "--async": "bool", "--folder": "value", "--organization": "value" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "undelete": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--display-name": "value" } } }, "flags": {} } }, "flags": {} }, "run": { "commands": { "deploy": { "commands": {}, "flags": { "--add-cloudsql-instances": "value", "--allow-unauthenticated": "bool", "--args": "value", "--async": "bool", "--clear-cloudsql-instances": "bool", "--clear-config-maps": "bool", "--clear-env-vars": "bool", "--clear-labels": "bool", "--clear-secrets": "bool", "--cluster": "value", "--cluster-location": "value", "--command": "value", "--concurrency": "value", "--connectivity": [ "external", "internal" ], "--context": "value", "--cpu": "value", "--image": "value", "--kubeconfig": "value", "--labels": "value", "--max-instances": "value", "--memory": "value", "--min-instances": "value", "--namespace": "value", "--no-traffic": "bool", "--platform": [ "gke", "kubernetes", "managed" ], "--port": "value", "--region": "value", "--remove-cloudsql-instances": "value", "--remove-config-maps": "value", "--remove-env-vars": "value", "--remove-labels": "value", "--remove-secrets": "value", "--revision-suffix": "value", "--service-account": "value", "--set-cloudsql-instances": "value", "--set-config-maps": "value", "--set-env-vars": "value", "--set-secrets": "value", "--timeout": "value", "--update-config-maps": "value", "--update-env-vars": "value", "--update-labels": "value", "--update-secrets": "value", "--use-http2": "bool" } }, "domain-mappings": { "commands": { "create": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--domain": "value", "--force-override": "bool", "--kubeconfig": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value", "--service": "value" } }, "delete": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--domain": "value", "--kubeconfig": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "describe": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--domain": "value", "--kubeconfig": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "list": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--filter": "value", "--kubeconfig": "value", "--limit": "value", "--namespace": "value", "--page-size": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "revisions": { "commands": { "delete": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "describe": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "list": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--filter": "value", "--kubeconfig": "value", "--limit": "value", "--namespace": "value", "--page-size": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value", "--service": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "services": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--condition": "value", "--condition-from-file": "value", "--context": "value", "--kubeconfig": "value", "--member": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value", "--role": "dynamic" } }, "delete": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "describe": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--filter": "value", "--kubeconfig": "value", "--limit": "value", "--page-size": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--filter": "value", "--kubeconfig": "value", "--limit": "value", "--namespace": "value", "--page-size": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--all": "bool", "--cluster": "value", "--cluster-location": "value", "--condition": "value", "--condition-from-file": "value", "--context": "value", "--kubeconfig": "value", "--member": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "update": { "commands": {}, "flags": { "--add-cloudsql-instances": "value", "--args": "value", "--async": "bool", "--clear-cloudsql-instances": "bool", "--clear-env-vars": "bool", "--clear-labels": "bool", "--cluster": "value", "--cluster-location": "value", "--command": "value", "--concurrency": "value", "--connectivity": [ "external", "internal" ], "--context": "value", "--cpu": "value", "--kubeconfig": "value", "--labels": "value", "--max-instances": "value", "--memory": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--port": "value", "--region": "value", "--remove-cloudsql-instances": "value", "--remove-env-vars": "value", "--remove-labels": "value", "--revision-suffix": "value", "--service-account": "value", "--set-cloudsql-instances": "value", "--set-env-vars": "value", "--timeout": "value", "--update-env-vars": "value", "--update-labels": "value" } }, "update-traffic": { "commands": {}, "flags": { "--async": "bool", "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--namespace": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value", "--to-latest": "bool", "--to-revisions": "value" } } }, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } } }, "flags": { "--cluster": "value", "--cluster-location": "value", "--context": "value", "--kubeconfig": "value", "--platform": [ "gke", "kubernetes", "managed" ], "--region": "value" } }, "scheduler": { "commands": { "jobs": { "commands": { "create": { "commands": { "app-engine": { "commands": {}, "flags": { "--attempt-deadline": "value", "--description": "value", "--headers": "value", "--http-method": [ "delete", "get", "head", "post", "put" ], "--max-backoff": "value", "--max-doublings": "value", "--max-retry-attempts": "value", "--max-retry-duration": "value", "--message-body": "value", "--message-body-from-file": "value", "--min-backoff": "value", "--relative-url": "value", "--schedule": "value", "--service": "value", "--time-zone": "value" } }, "http": { "commands": {}, "flags": { "--attempt-deadline": "value", "--description": "value", "--headers": "value", "--http-method": [ "delete", "get", "head", "post", "put" ], "--max-backoff": "value", "--max-doublings": "value", "--max-retry-attempts": "value", "--max-retry-duration": "value", "--message-body": "value", "--message-body-from-file": "value", "--min-backoff": "value", "--oauth-service-account-email": "value", "--oauth-token-scope": "value", "--oidc-service-account-email": "value", "--oidc-token-audience": "value", "--schedule": "value", "--time-zone": "value", "--uri": "value" } }, "pubsub": { "commands": {}, "flags": { "--attributes": "value", "--description": "value", "--max-backoff": "value", "--max-doublings": "value", "--max-retry-attempts": "value", "--max-retry-duration": "value", "--message-body": "value", "--message-body-from-file": "value", "--min-backoff": "value", "--schedule": "value", "--time-zone": "value", "--topic": "value" } } }, "flags": {} }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "pause": { "commands": {}, "flags": {} }, "resume": { "commands": {}, "flags": {} }, "run": { "commands": {}, "flags": {} }, "update": { "commands": { "app-engine": { "commands": {}, "flags": { "--attempt-deadline": "value", "--clear-headers": "bool", "--clear-max-backoff": "bool", "--clear-max-doublings": "bool", "--clear-max-retry-attempts": "bool", "--clear-max-retry-duration": "bool", "--clear-message-body": "bool", "--clear-min-backoff": "bool", "--clear-relative-url": "bool", "--clear-service": "bool", "--clear-time-zone": "bool", "--description": "value", "--http-method": [ "delete", "get", "head", "post", "put" ], "--max-backoff": "value", "--max-doublings": "value", "--max-retry-attempts": "value", "--max-retry-duration": "value", "--message-body": "value", "--message-body-from-file": "value", "--min-backoff": "value", "--relative-url": "value", "--remove-headers": "value", "--schedule": "value", "--service": "value", "--time-zone": "value", "--update-headers": "value" } }, "http": { "commands": {}, "flags": { "--attempt-deadline": "value", "--clear-auth-token": "bool", "--clear-headers": "bool", "--clear-max-backoff": "bool", "--clear-max-doublings": "bool", "--clear-max-retry-attempts": "bool", "--clear-max-retry-duration": "bool", "--clear-message-body": "bool", "--clear-min-backoff": "bool", "--clear-time-zone": "bool", "--description": "value", "--http-method": [ "delete", "get", "head", "post", "put" ], "--max-backoff": "value", "--max-doublings": "value", "--max-retry-attempts": "value", "--max-retry-duration": "value", "--message-body": "value", "--message-body-from-file": "value", "--min-backoff": "value", "--oauth-service-account-email": "value", "--oauth-token-scope": "value", "--oidc-service-account-email": "value", "--oidc-token-audience": "value", "--remove-headers": "value", "--schedule": "value", "--time-zone": "value", "--update-headers": "value", "--uri": "value" } }, "pubsub": { "commands": {}, "flags": { "--clear-attributes": "bool", "--clear-max-backoff": "bool", "--clear-max-doublings": "bool", "--clear-max-retry-attempts": "bool", "--clear-max-retry-duration": "bool", "--clear-min-backoff": "bool", "--clear-time-zone": "bool", "--description": "value", "--max-backoff": "value", "--max-doublings": "value", "--max-retry-attempts": "value", "--max-retry-duration": "value", "--message-body": "value", "--message-body-from-file": "value", "--min-backoff": "value", "--remove-attributes": "value", "--schedule": "value", "--time-zone": "value", "--topic": "value", "--update-attributes": "value" } } }, "flags": {} } }, "flags": {} } }, "flags": {} }, "secrets": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--data-file": "value", "--labels": "value", "--locations": "value", "--replication-policy": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "locations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--clear-labels": "bool", "--remove-labels": "value", "--update-labels": "value" } }, "versions": { "commands": { "access": { "commands": {}, "flags": { "--secret": "dynamic" } }, "add": { "commands": {}, "flags": { "--data-file": "value" } }, "describe": { "commands": {}, "flags": { "--secret": "dynamic" } }, "destroy": { "commands": {}, "flags": { "--secret": "dynamic" } }, "disable": { "commands": {}, "flags": { "--secret": "dynamic" } }, "enable": { "commands": {}, "flags": { "--secret": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "services": { "commands": { "disable": { "commands": {}, "flags": { "--async": "bool", "--force": "bool" } }, "enable": { "commands": {}, "flags": { "--async": "bool" } }, "list": { "commands": {}, "flags": { "--available": "bool", "--enabled": "bool", "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "operations": { "commands": { "describe": { "commands": {}, "flags": { "--full": "value" } }, "wait": { "commands": {}, "flags": {} } }, "flags": {} }, "vpc-peerings": { "commands": { "connect": { "commands": {}, "flags": { "--async": "bool", "--network": "value", "--ranges": "value", "--service": "value" } }, "list": { "commands": {}, "flags": { "--network": "value", "--service": "value" } }, "operations": { "commands": { "describe": { "commands": {}, "flags": { "--name": "value" } }, "wait": { "commands": {}, "flags": { "--name": "value" } } }, "flags": {} }, "update": { "commands": {}, "flags": { "--async": "bool", "--force": "bool", "--network": "value", "--ranges": "value", "--service": "value" } } }, "flags": {} } }, "flags": {} }, "source": { "commands": { "project-configs": { "commands": { "describe": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--add-topic": "value", "--disable-pushblock": "bool", "--enable-pushblock": "bool", "--message-format": [ "json", "protobuf" ], "--remove-topic": "value", "--service-account": "value", "--topic-project": "value", "--update-topic": "value" } } }, "flags": {} }, "repos": { "commands": { "clone": { "commands": {}, "flags": { "--dry-run": "bool" } }, "create": { "commands": {}, "flags": {} }, "delete": { "commands": {}, "flags": { "--force": "bool" } }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--add-topic": "value", "--message-format": [ "json", "protobuf" ], "--remove-topic": "value", "--service-account": "value", "--topic-project": "value", "--update-topic": "value" } } }, "flags": {} } }, "flags": {} }, "spanner": { "commands": { "backups": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--instance": "dynamic", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--async": "bool", "--database": "value", "--expiration-date": "value", "--instance": "dynamic", "--retention-period": "value" } }, "delete": { "commands": {}, "flags": { "--instance": "dynamic" } }, "describe": { "commands": {}, "flags": { "--instance": "dynamic" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--database": "value", "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--instance": "dynamic", "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": { "--instance": "dynamic" } }, "update-metadata": { "commands": {}, "flags": { "--expiration-date": "value", "--instance": "dynamic", "--retention-period": "value" } } }, "flags": {} }, "databases": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--instance": "dynamic", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--async": "bool", "--ddl": "value", "--instance": "value" } }, "ddl": { "commands": { "describe": { "commands": {}, "flags": { "--filter": "value", "--instance": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "update": { "commands": {}, "flags": { "--async": "bool", "--ddl": "value", "--instance": "value" } } }, "flags": {} }, "delete": { "commands": {}, "flags": { "--instance": "value" } }, "describe": { "commands": {}, "flags": { "--instance": "value" } }, "execute-sql": { "commands": {}, "flags": { "--enable-partitioned-dml": "bool", "--instance": "value", "--query-mode": [ "NORMAL", "PLAN", "PROFILE" ], "--sql": "value", "--timeout": "value" } }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--instance": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--instance": "dynamic", "--member": "value", "--role": "dynamic" } }, "restore": { "commands": {}, "flags": { "--async": "bool", "--destination-database": "value", "--destination-instance": "value", "--source-backup": "value", "--source-instance": "value" } }, "sessions": { "commands": { "delete": { "commands": {}, "flags": { "--database": "value", "--instance": "value" } }, "list": { "commands": {}, "flags": { "--database": "value", "--filter": "value", "--instance": "value", "--limit": "value", "--page-size": "value", "--server-filter": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "set-iam-policy": { "commands": {}, "flags": { "--instance": "value" } } }, "flags": {} }, "instance-configs": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "instances": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--async": "bool", "--config": "dynamic", "--description": "value", "--nodes": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--member": "value", "--role": "dynamic" } }, "set-iam-policy": { "commands": {}, "flags": {} }, "update": { "commands": {}, "flags": { "--async": "bool", "--description": "value", "--nodes": "value" } } }, "flags": {} }, "operations": { "commands": { "cancel": { "commands": {}, "flags": { "--backup": "dynamic", "--database": "dynamic", "--instance": "dynamic" } }, "describe": { "commands": {}, "flags": { "--backup": "dynamic", "--database": "dynamic", "--instance": "dynamic" } }, "list": { "commands": {}, "flags": { "--backup": "dynamic", "--database": "dynamic", "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--type": [ "BACKUP", "DATABASE", "DATABASE_CREATE", "DATABASE_RESTORE", "DATABASE_UPDATE_DDL", "INSTANCE" ], "--uri": "bool" } } }, "flags": {} }, "rows": { "commands": { "delete": { "commands": {}, "flags": { "--database": "value", "--instance": "value", "--keys": "value", "--table": "value" } }, "insert": { "commands": {}, "flags": { "--data": "value", "--database": "value", "--instance": "value", "--table": "value" } }, "update": { "commands": {}, "flags": { "--data": "value", "--database": "value", "--instance": "value", "--table": "value" } } }, "flags": {} } }, "flags": {} }, "sql": { "commands": { "backups": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--description": "value", "--instance": "dynamic", "--location": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--instance": "dynamic" } }, "describe": { "commands": {}, "flags": { "--instance": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "restore": { "commands": {}, "flags": { "--async": "bool", "--backup-instance": "dynamic", "--restore-instance": "dynamic" } } }, "flags": {} }, "connect": { "commands": {}, "flags": { "--database": "value", "--user": "value" } }, "databases": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--charset": "value", "--collation": "value", "--instance": "dynamic" } }, "delete": { "commands": {}, "flags": { "--instance": "dynamic" } }, "describe": { "commands": {}, "flags": { "--instance": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "patch": { "commands": {}, "flags": { "--charset": "value", "--collation": "value", "--diff": "bool", "--instance": "dynamic" } } }, "flags": {} }, "export": { "commands": { "bak": { "commands": {}, "flags": { "--async": "bool", "--database": "value" } }, "csv": { "commands": {}, "flags": { "--async": "bool", "--database": "value", "--query": "value" } }, "sql": { "commands": {}, "flags": { "--async": "bool", "--database": "value", "--table": "value" } } }, "flags": {} }, "flags": { "commands": { "list": { "commands": {}, "flags": { "--database-version": [ "MYSQL_5_5", "MYSQL_5_6", "MYSQL_5_7", "POSTGRES_10", "POSTGRES_11", "POSTGRES_9_6", "SQLSERVER_2017_ENTERPRISE", "SQLSERVER_2017_EXPRESS", "SQLSERVER_2017_STANDARD", "SQLSERVER_2017_WEB" ], "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "import": { "commands": { "bak": { "commands": {}, "flags": { "--async": "bool", "--cert-path": "value", "--database": "value", "--prompt-for-pvk-password": "bool", "--pvk-password": "value", "--pvk-path": "value" } }, "csv": { "commands": {}, "flags": { "--async": "bool", "--columns": "value", "--database": "value", "--table": "value", "--user": "value" } }, "sql": { "commands": {}, "flags": { "--async": "bool", "--database": "value", "--user": "value" } } }, "flags": {} }, "instances": { "commands": { "clone": { "commands": {}, "flags": { "--async": "bool", "--bin-log-file-name": "value", "--bin-log-position": "value" } }, "create": { "commands": {}, "flags": { "--activation-policy": [ "always", "never", "on-demand" ], "--assign-ip": "bool", "--async": "bool", "--authorized-networks": "value", "--availability-type": [ "regional", "zonal" ], "--backup": "bool", "--backup-location": "value", "--backup-start-time": "value", "--cpu": "value", "--database-flags": "value", "--database-version": [ "MYSQL_5_5", "MYSQL_5_6", "MYSQL_5_7", "POSTGRES_10", "POSTGRES_11", "POSTGRES_9_6", "SQLSERVER_2017_ENTERPRISE", "SQLSERVER_2017_EXPRESS", "SQLSERVER_2017_STANDARD", "SQLSERVER_2017_WEB" ], "--disk-encryption-key": "dynamic", "--disk-encryption-key-keyring": "dynamic", "--disk-encryption-key-location": "dynamic", "--disk-encryption-key-project": "dynamic", "--enable-bin-log": "bool", "--failover-replica-name": "value", "--gce-zone": "value", "--maintenance-release-channel": [ "preview", "production" ], "--maintenance-window-day": [ "FRI", "MON", "SAT", "SUN", "THU", "TUE", "WED" ], "--maintenance-window-hour": "value", "--master-instance-name": "value", "--memory": "value", "--region": "value", "--replica-type": [ "FAILOVER", "READ" ], "--replication": [ "asynchronous", "synchronous" ], "--require-ssl": "bool", "--root-password": "value", "--storage-auto-increase": "bool", "--storage-size": "value", "--storage-type": [ "HDD", "SSD" ], "--tier": "value", "--zone": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool" } }, "describe": { "commands": {}, "flags": {} }, "export": { "commands": {}, "flags": { "--async": "bool", "--database": "value", "--table": "value" } }, "failover": { "commands": {}, "flags": { "--async": "bool" } }, "import": { "commands": {}, "flags": { "--async": "bool", "--database": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "patch": { "commands": {}, "flags": { "--activation-policy": [ "always", "never", "on-demand" ], "--assign-ip": "bool", "--async": "bool", "--authorized-gae-apps": "value", "--authorized-networks": "value", "--availability-type": [ "regional", "zonal" ], "--backup-location": "value", "--backup-start-time": "value", "--clear-authorized-networks": "bool", "--clear-database-flags": "bool", "--clear-gae-apps": "bool", "--cpu": "value", "--database-flags": "value", "--diff": "bool", "--enable-bin-log": "bool", "--enable-database-replication": "bool", "--follow-gae-app": "value", "--gce-zone": "value", "--maintenance-release-channel": [ "preview", "production" ], "--maintenance-window-any": "bool", "--maintenance-window-day": [ "FRI", "MON", "SAT", "SUN", "THU", "TUE", "WED" ], "--maintenance-window-hour": "value", "--memory": "value", "--no-backup": "bool", "--pricing-plan": [ "PACKAGE", "PER_USE" ], "--replication": [ "asynchronous", "synchronous" ], "--require-ssl": "bool", "--storage-auto-increase": "bool", "--storage-size": "value", "--tier": "value", "--zone": "value" } }, "promote-replica": { "commands": {}, "flags": { "--async": "bool" } }, "reset-ssl-config": { "commands": {}, "flags": { "--async": "bool" } }, "restart": { "commands": {}, "flags": { "--async": "bool" } }, "restore-backup": { "commands": {}, "flags": { "--async": "bool", "--backup-id": "value", "--backup-instance": "dynamic" } } }, "flags": {} }, "operations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "wait": { "commands": {}, "flags": { "--timeout": "value" } } }, "flags": {} }, "reschedule-maintenance": { "commands": {}, "flags": { "--reschedule-type": [ "IMMEDIATE", "NEXT_AVAILABLE_WINDOW", "SPECIFIC_TIME" ], "--schedule-time": "value" } }, "ssl": { "commands": { "client-certs": { "commands": { "create": { "commands": {}, "flags": { "--instance": "dynamic" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--instance": "dynamic" } }, "describe": { "commands": {}, "flags": { "--instance": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} } }, "flags": {} }, "ssl-certs": { "commands": { "create": { "commands": {}, "flags": { "--instance": "dynamic" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--instance": "dynamic" } }, "describe": { "commands": {}, "flags": { "--instance": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "tiers": { "commands": { "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "users": { "commands": { "create": { "commands": {}, "flags": { "--async": "bool", "--host": "value", "--instance": "dynamic", "--password": "value" } }, "delete": { "commands": {}, "flags": { "--async": "bool", "--host": "value", "--instance": "dynamic" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--instance": "dynamic", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "set-password": { "commands": {}, "flags": { "--async": "bool", "--host": "value", "--instance": "dynamic", "--password": "value", "--prompt-for-password": "bool" } } }, "flags": {} } }, "flags": {} }, "survey": { "commands": {}, "flags": {} }, "tasks": { "commands": { "create-app-engine-task": { "commands": {}, "flags": { "--body-content": "value", "--body-file": "value", "--header": "value", "--method": "value", "--queue": "value", "--relative-uri": "value", "--routing": "value", "--schedule-time": "value" } }, "create-http-task": { "commands": {}, "flags": { "--body-content": "value", "--body-file": "value", "--header": "value", "--method": "value", "--oauth-service-account-email": "value", "--oauth-token-scope": "value", "--oidc-service-account-email": "value", "--oidc-token-audience": "value", "--queue": "value", "--schedule-time": "value", "--url": "value" } }, "delete": { "commands": {}, "flags": { "--queue": "value" } }, "describe": { "commands": {}, "flags": { "--queue": "value", "--response-view": [ "basic", "full", "view-unspecified" ] } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--queue": "value", "--sort-by": "value", "--uri": "bool" } }, "locations": { "commands": { "describe": { "commands": {}, "flags": {} }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } } }, "flags": {} }, "queues": { "commands": { "add-iam-policy-binding": { "commands": {}, "flags": { "--location": "value", "--member": "value", "--role": "dynamic" } }, "create": { "commands": {}, "flags": { "--log-sampling-ratio": "value", "--max-attempts": "value", "--max-backoff": "value", "--max-concurrent-dispatches": "value", "--max-dispatches-per-second": "value", "--max-doublings": "value", "--max-retry-duration": "value", "--min-backoff": "value", "--routing-override": "value" } }, "delete": { "commands": {}, "flags": {} }, "describe": { "commands": {}, "flags": {} }, "get-iam-policy": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--location": "value", "--page-size": "value", "--sort-by": "value" } }, "list": { "commands": {}, "flags": { "--filter": "value", "--limit": "value", "--page-size": "value", "--sort-by": "value", "--uri": "bool" } }, "pause": { "commands": {}, "flags": {} }, "purge": { "commands": {}, "flags": {} }, "remove-iam-policy-binding": { "commands": {}, "flags": { "--location": "value", "--member": "value", "--role": "dynamic" } }, "resume": { "commands": {}, "flags": {} }, "set-iam-policy": { "commands": {}, "flags": { "--location": "value" } }, "update": { "commands": {}, "flags": { "--clear-log-sampling-ratio": "bool", "--clear-max-attempts": "bool", "--clear-max-backoff": "bool", "--clear-max-concurrent-dispatches": "bool", "--clear-max-dispatches-per-second": "bool", "--clear-max-doublings": "bool", "--clear-max-retry-duration": "bool", "--clear-min-backoff": "bool", "--clear-routing-override": "bool", "--log-sampling-ratio": "value", "--max-attempts": "value", "--max-backoff": "value", "--max-concurrent-dispatches": "value", "--max-dispatches-per-second": "value", "--max-doublings": "value", "--max-retry-duration": "value", "--min-backoff": "value", "--routing-override": "value" } } }, "flags": {} }, "run": { "commands": {}, "flags": { "--queue": "value" } } }, "flags": {} }, "topic": { "commands": { "accessibility": { "commands": {}, "flags": {} }, "arg-files": { "commands": {}, "flags": {} }, "cli-trees": { "commands": {}, "flags": {} }, "client-certificate": { "commands": {}, "flags": {} }, "command-conventions": { "commands": {}, "flags": {} }, "configurations": { "commands": {}, "flags": {} }, "datetimes": { "commands": {}, "flags": {} }, "escaping": { "commands": {}, "flags": {} }, "filters": { "commands": {}, "flags": {} }, "flags-file": { "commands": {}, "flags": {} }, "formats": { "commands": {}, "flags": {} }, "gcloudignore": { "commands": {}, "flags": {} }, "offline-help": { "commands": {}, "flags": {} }, "projections": { "commands": {}, "flags": {} }, "resource-keys": { "commands": {}, "flags": {} }, "startup": { "commands": {}, "flags": {} }, "uninstall": { "commands": {}, "flags": {} } }, "flags": {} }, "version": { "commands": {}, "flags": {} } }, "flags": { "--account": "value", "--billing-project": "value", "--configuration": "value", "--flags-file": "value", "--flatten": "value", "--format": "value", "--help": "bool", "--impersonate-service-account": "value", "--log-http": "bool", "--project": "dynamic", "--quiet": "bool", "--trace-token": "value", "--user-output-enabled": "bool", "--verbosity": [ "critical", "debug", "error", "info", "none", "warning" ], "--version": "bool" } }
[ "guanzhi97@gmail.com" ]
guanzhi97@gmail.com
f01d40cd635630e8e222dba840d3a68ce5a32e8d
bdf719c4e64edd4445b6d5996deaccb86d213196
/py4e_scripts/longaverage.py
ce49e3b7b5d5c7e775af358b324d7e89d5abe8c9
[]
no_license
toyinolape/Py4e_UofM
ccc261b2bba303294414b90392628514a28b9cc7
f3c450cf56251ef9e84594300f9b3f9d522d616d
refs/heads/master
2023-07-19T11:18:44.508638
2021-09-18T22:09:25
2021-09-18T22:09:25
327,896,826
0
0
null
null
null
null
UTF-8
Python
false
false
1,072
py
def median(inputlist): inputlist = sorted(inputlist) length = len(inputlist)/2.0 count = 0 if inputlist == []: return [] elif len(inputlist) % 2 == 1: middle = length - 0.5 middle = int[middle] return inputlist[middle] elif len(inputlist) % 2 == 0 : first_position = int(length) second_position = int(length-1) sum_middle = inputlist[first_position] + inputlist[second_position] Avg = sum_middle / 2 return Avg elif len(inputlist) == 1: return inputlist print (median([1,2,3,4,6,2,4,4,4,2,7,7,])) #Codecademy method is below, way shorter def median(lst): sorted_list = sorted(lst) if len(sorted_list) % 2 != 0: #odd number of elements index = len(sorted_list)//2 return sorted_list[index] elif len(sorted_list) % 2 == 0: #even no. of elements index_1 = len(sorted_list)/2 - 1 index_2 = len(sorted_list)/2 mean = (sorted_list[index_1] + sorted_list[index_2])/2.0 return mean print median([2, 4, 5, 9])
[ "toyinolape@yahoo.com" ]
toyinolape@yahoo.com
c38a1cef3b61f395d64dff1cd9127f6b159f65f5
0a67043f6d429c084a715493424314454f86d6a3
/Application/Application.py
07a5810104761fa33b4132e11acbf4078b841139
[]
no_license
evan01/RenewableAnalysisDevelopment
b6a862895bcb89d8855e219fd4057dc6da4cf3e1
eafe3b64394663f3bf0135e0306893e7c4093100
refs/heads/master
2020-05-21T08:50:28.630423
2017-04-05T16:32:32
2017-04-05T16:32:32
69,109,479
0
0
null
null
null
null
UTF-8
Python
false
false
1,644
py
from flask import Flask, g, jsonify, redirect, request , url_for from werkzeug.utils import secure_filename app = Flask(__name__) UPLOAD_FOLDER = '/Application/uploads/' ALLOWED_EXTENSIONS = set(['csv,xlsx']) '''''' @app.route('/') def main(): ''' This is loaded first, will load the index.html file :return: ''' return redirect(url_for('static',filename="index.html")) @app.before_request def before_request(): print("Before request") @app.teardown_request def teardown_request(exception): if hasattr(g,"db"): g.db.close() @app.route('/function1') def function1(): ''' Here's an example of a function you can call from the website! :return: ''' numItems = request.args.get('nitems',2) return jsonify(dict({1: "a",2: "b"})) @app.route('/',methods=['GET','POST']) def uploadFile(): ''' Uploads a file to the back end for data processing, need to add more security. :return: ''' #todo add more security to this if request.method == 'POST': if 'file' not in request.files: return redirect(request.url) file = request.files['file'] if file.filename == '': return redirect(request.url) if file: filename = secure_filename(file.filename) file.save(os.path.join(app.config['UPLOAD_FOLDER'],filename)) #todo write the data processing code for the file return redirect(url_for('uploaded_file'),filename=filename) if __name__ == '__main__': # app.run() app.run(debug=True,host="localhost", port=5001) app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER
[ "eknoxmobile@gmail.com" ]
eknoxmobile@gmail.com
d8f012a3ee2ef0f112c0d3b7fea5384188a037f7
e54b0f427bb9c12955f8ebbf61e209f95823e7ce
/toppings2.py
e7f2694edae28023fa8309c1cc3c8bb6205f3145
[]
no_license
edyta-m/PythonCookbook
66ad7e93ca82eec4c27c3264fcd18ee6234cb7b7
708c90993ef34bb21a36a8d791112eec91f72cdf
refs/heads/master
2023-03-22T12:23:54.419887
2021-03-18T03:28:38
2021-03-18T03:28:38
348,928,371
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
requested_toppings = ['mushrooms', 'extra cheese'] if 'mushrooms' in requested_toppings: print("Adding mushrooms.") if 'pepperoni' in requested_toppings: print("Adding pepperoni.") if 'extra cheese' in requested_toppings: print("Adding extra cheese.") print("\nFinished making your pizza!")
[ "edith.22.mary@gmail.com" ]
edith.22.mary@gmail.com
3e1821a70e48e45f7d23a8a598e644fd55aa3267
ffeacff13af906bf5e7a02018a2543902f5dc8ef
/01-Python核心编程/代码/04-数据序列/02-列表/hm_02_查找.py
507751dc98470c528285216532fc445039e51cd8
[ "MIT" ]
permissive
alikslee/Python-itheima-2019
457080ee83d0f5f7eaba426da0ea86405d2d5248
691035d5ff0e362139c7dbe82f730ec0e060fd2e
refs/heads/main
2023-01-01T16:27:20.062463
2020-10-22T16:20:29
2020-10-22T16:20:29
305,959,901
1
0
null
null
null
null
UTF-8
Python
false
false
229
py
name_list = ['TOM', 'Lily', 'ROSE'] # 1. index() # print(name_list.index('TOM')) # print(name_list.index('TOMS')) # 2. count() # print(name_list.count('TOM')) # print(name_list.count('TOMS')) # 3.len() print(len(name_list))
[ "lee079074256@gmail.com" ]
lee079074256@gmail.com
9b7ea7e3e0112941c3cbe81dc05e4853c5ab0a54
e462c4aa3207954ba18201cb7419eada2f36acbf
/monosenlacosta.py
dcf8e5c2dd682e29a38ee315caa3525cd8bf330f
[]
no_license
espinel10/Python4Pentester
fcef8ebcaa5aa27866ed4aa21a687e9923666ba7
e4a23fd619f81551f65fd06a353623322d7327a0
refs/heads/master
2023-04-17T09:03:05.193756
2021-05-05T01:28:37
2021-05-05T01:28:37
297,847,807
0
0
null
null
null
null
UTF-8
Python
false
false
356
py
from scapy.all import * for lsb in range(1,255): ip="192.168.1."+str(lsb) arpRequest = Ether(dst="ff:ff:ff:ff:ff:ff")/ARP(pdst=ip,hwdst="ff:ff:ff:ff:ff:ff") arpResponse = srp1(arpRequest , timeout=1 , verbose=0) if arpResponse: arr="IP: "+arpResponse.psrc+" MAC: "+arpResponse.hwsrc print("-----------") print(arr)
[ "noreply@github.com" ]
espinel10.noreply@github.com
d62bf73307310777e44c86ad6cec8629b27da0c2
0e3ec989d04ded9f7676a50816beb22059983d2a
/api/bloodwork.py
db887e809b3fdacdb751ca15e931c5f1aafef4ac
[]
no_license
Botono/ripley-fitbark-api
ae611b7c2aeea7e79f9c8fcea7ab9e2550c898bc
6951cd3cc48e430ce7e1f9116f3306cbd5d60a84
refs/heads/master
2023-05-12T23:02:09.340789
2020-08-17T02:10:22
2020-08-17T02:10:22
163,693,200
1
0
null
2023-05-05T02:24:27
2018-12-31T19:34:29
Go
UTF-8
Python
false
false
3,036
py
import boto3 from flask import ( Flask, Blueprint, jsonify, request, url_for, ) import utils from config import config bloodwork = Blueprint('bloodwork', __name__) @bloodwork.route('/bloodwork', methods=['GET']) def getBloodwork(): rawResults = [] tableName = 'Ripley_Bloodwork' try: table = config['db'].Table(tableName) response = table.scan() rawResults.extend(response['Items']) while response.get('LastEvaluatedKey'): response = table.scan( ExclusiveStartKey=response['LastEvaluatedKey']) rawResults.extend(response['Items']) except Exception as e: return jsonify('DB scan failed: {0}'.format(str(e))), 500 processedResults = {} currentDate = '' for result in rawResults: processedResults[result['date']] = result return jsonify(processedResults), 200 @bloodwork.route('/bloodwork/labels', methods=['GET']) def getBloodworkLabels(): labels = [ { 'name': 'WBC', 'lower': 4, 'upper': 15.5, }, { 'name': 'RBC', 'lower': 4.8, 'upper': 9.3, }, { 'name': 'HGB', 'lower': 12.1, 'upper': 20.3, }, { 'name': 'HCT', 'lower': 36, 'upper': 60, }, { 'name': 'MCV', 'lower': 58, 'upper': 79, }, { 'name': 'MCH', 'lower': 19, 'upper': 28, }, { 'name': 'MCHC', 'lower': 30, 'upper': 38, }, { 'name': 'Plaelet Count', 'lower': 170, 'upper': 400, }, { 'name': 'Neutrophils %', 'lower': 60, 'upper': 77, }, { 'name': 'Bands', 'lower': 0, 'upper': 3, }, { 'name': 'Lymphocytes %', 'lower': 12, 'upper': 30, }, { 'name': 'Monocytes %', 'lower': 3, 'upper': 10, }, { 'name': 'Eosinophils %', 'lower': 2, 'upper': 10, }, { 'name': 'Basophils %', 'lower': 0, 'upper': 1, }, { 'name': 'Abs Neutrophils', 'lower': 2060, 'upper': 10600, }, { 'name': 'Abs Lymphocytes', 'lower': 690, 'upper': 4500, }, { 'name': 'Abs Monocytes', 'lower': 0, 'upper': 840, }, { 'name': 'Abs Eosinophils', 'lower': 0, 'upper': 1200, }, { 'name': 'Abs Basophils', 'lower': 0, 'upper': 150, }, ] return jsonify(labels), 200
[ "aaron@aaron-murray.net" ]
aaron@aaron-murray.net
ceb2448af505fefb48dabe7e0516eaf2d46eb5a4
a8769709aeb7299fa3757f0e7bba5c617eb8cfe3
/lesson-3/k8s/lib/python2.7/site-packages/kubernetes/client/models/v1beta1_api_service_condition.py
d851edd6c77101268757fb7d42c4ef39c4686464
[ "Apache-2.0" ]
permissive
simox-83/workshop-k8s
2ac5e8b282bb7c3337acc726a7d972717bf649cc
04cb18e8b5925a3cfd84ca316952a6cb64960b31
refs/heads/master
2020-03-31T20:52:21.421995
2018-10-11T14:43:08
2018-10-11T14:43:08
152,558,678
0
0
Apache-2.0
2018-10-11T08:37:20
2018-10-11T08:37:20
null
UTF-8
Python
false
false
6,769
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.11.3 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re class V1beta1APIServiceCondition(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ """ Attributes: swagger_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value is json key in definition. """ swagger_types = { 'last_transition_time': 'datetime', 'message': 'str', 'reason': 'str', 'status': 'str', 'type': 'str' } attribute_map = { 'last_transition_time': 'lastTransitionTime', 'message': 'message', 'reason': 'reason', 'status': 'status', 'type': 'type' } def __init__(self, last_transition_time=None, message=None, reason=None, status=None, type=None): """ V1beta1APIServiceCondition - a model defined in Swagger """ self._last_transition_time = None self._message = None self._reason = None self._status = None self._type = None self.discriminator = None if last_transition_time is not None: self.last_transition_time = last_transition_time if message is not None: self.message = message if reason is not None: self.reason = reason self.status = status self.type = type @property def last_transition_time(self): """ Gets the last_transition_time of this V1beta1APIServiceCondition. Last time the condition transitioned from one status to another. :return: The last_transition_time of this V1beta1APIServiceCondition. :rtype: datetime """ return self._last_transition_time @last_transition_time.setter def last_transition_time(self, last_transition_time): """ Sets the last_transition_time of this V1beta1APIServiceCondition. Last time the condition transitioned from one status to another. :param last_transition_time: The last_transition_time of this V1beta1APIServiceCondition. :type: datetime """ self._last_transition_time = last_transition_time @property def message(self): """ Gets the message of this V1beta1APIServiceCondition. Human-readable message indicating details about last transition. :return: The message of this V1beta1APIServiceCondition. :rtype: str """ return self._message @message.setter def message(self, message): """ Sets the message of this V1beta1APIServiceCondition. Human-readable message indicating details about last transition. :param message: The message of this V1beta1APIServiceCondition. :type: str """ self._message = message @property def reason(self): """ Gets the reason of this V1beta1APIServiceCondition. Unique, one-word, CamelCase reason for the condition's last transition. :return: The reason of this V1beta1APIServiceCondition. :rtype: str """ return self._reason @reason.setter def reason(self, reason): """ Sets the reason of this V1beta1APIServiceCondition. Unique, one-word, CamelCase reason for the condition's last transition. :param reason: The reason of this V1beta1APIServiceCondition. :type: str """ self._reason = reason @property def status(self): """ Gets the status of this V1beta1APIServiceCondition. Status is the status of the condition. Can be True, False, Unknown. :return: The status of this V1beta1APIServiceCondition. :rtype: str """ return self._status @status.setter def status(self, status): """ Sets the status of this V1beta1APIServiceCondition. Status is the status of the condition. Can be True, False, Unknown. :param status: The status of this V1beta1APIServiceCondition. :type: str """ if status is None: raise ValueError("Invalid value for `status`, must not be `None`") self._status = status @property def type(self): """ Gets the type of this V1beta1APIServiceCondition. Type is the type of the condition. :return: The type of this V1beta1APIServiceCondition. :rtype: str """ return self._type @type.setter def type(self, type): """ Sets the type of this V1beta1APIServiceCondition. Type is the type of the condition. :param type: The type of this V1beta1APIServiceCondition. :type: str """ if type is None: raise ValueError("Invalid value for `type`, must not be `None`") self._type = type def to_dict(self): """ Returns the model properties as a dict """ result = {} for attr, _ in iteritems(self.swagger_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if hasattr(x, "to_dict") else x, value )) elif hasattr(value, "to_dict"): result[attr] = value.to_dict() elif isinstance(value, dict): result[attr] = dict(map( lambda item: (item[0], item[1].to_dict()) if hasattr(item[1], "to_dict") else item, value.items() )) else: result[attr] = value return result def to_str(self): """ Returns the string representation of the model """ return pformat(self.to_dict()) def __repr__(self): """ For `print` and `pprint` """ return self.to_str() def __eq__(self, other): """ Returns true if both objects are equal """ if not isinstance(other, V1beta1APIServiceCondition): return False return self.__dict__ == other.__dict__ def __ne__(self, other): """ Returns true if both objects are not equal """ return not self == other
[ "simone.dandreta@concur.com" ]
simone.dandreta@concur.com
7c67676737cb9088ff55d7daa1848e9de4e670e7
c9bf2f41cccce7ce8cca40b115fe3eb0b4e8a48f
/repository_cli/cli/users.py
cb1845d76e7fdb406c0bcd8bc32f13f12ef23c33
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
mb-wali/repository-cli
f3d3ffec3c4c9a9a34d45aa8a4360bd6340ab301
e0c489bdd2eb4c9c741a00d2786d5c99c1754241
refs/heads/main
2023-05-28T23:28:20.161554
2021-05-18T08:17:17
2021-05-18T08:17:17
361,764,145
0
0
null
null
null
null
UTF-8
Python
false
false
774
py
# -*- coding: utf-8 -*- # # Copyright (C) 2021 Graz University of Technology. # # repository-cli is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. """Management commands for users.""" import click from flask.cli import with_appcontext from invenio_accounts.models import User @click.group() def users(): """Management commands for users.""" pass @users.command("list") @with_appcontext def list_users(): """List registered users. example call: invenio repository users list """ users = User.query for user in users: line = "{} {}".format(user.id, user.email) fg = "green" if user.active else "red" click.secho(line, fg=fg)
[ "noreply@github.com" ]
mb-wali.noreply@github.com
67aa8a6464cd45fd9c6202a61f33957fd8863758
cf25c8a7a00d34ef155809da876ad8c996697332
/dook_python/study/basic/demo.py
b29ca7127d44dd67646a153d454f4940f7ddc6b1
[]
no_license
ccl-organization/python
905f804a55aed861a678a9024777735eb318e560
89fb20bc1d212caae0c2464b0632b5750d6d6858
refs/heads/master
2020-08-18T03:32:28.464206
2019-10-17T08:43:41
2019-10-17T08:43:41
215,743,150
0
0
null
null
null
null
UTF-8
Python
false
false
70
py
# !/usr/bin/python # -*- coding: UTF-8 -*- import study.basic.demo1
[ "chenyahui@dookbook.com" ]
chenyahui@dookbook.com
bf04013c6f0f8ddcd9f3d419707fd2261e896529
3fadf661bd3ad1cc530d9197f157b3a4255034b6
/romani/migrations/0023_auto_20170107_2116.py
df7334c894a9469ccede7ea6d450e969024a0d15
[]
no_license
wkov/labiadas
69b1c69063edafe4f16467df53f58969c63db5c7
bb32de63cbbea951a0df49bc0bf800caaca7fc35
refs/heads/master
2022-11-28T11:46:55.735429
2020-01-11T18:13:37
2020-01-11T18:13:37
84,640,857
0
1
null
2022-11-22T03:03:08
2017-03-11T10:09:42
JavaScript
UTF-8
Python
false
false
520
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('romani', '0022_auto_20170107_2114'), ] operations = [ migrations.RemoveField( model_name='comanda', name='data_fi', ), migrations.AddField( model_name='contracte', name='data_fi', field=models.DateTimeField(blank=True, null=True), ), ]
[ "borruey.sergi@gmail.com" ]
borruey.sergi@gmail.com
eb708aaa133d349ba366e57c35c9a2a20766aa0b
4b0c2487113a2358b1229be7b7b9d140416a520b
/changeLog.py
f78f0890471347e7fb8aff205d696df310a09f40
[]
no_license
mikecv/picCoder
8de7d55182c7bc7de794f2591cf482175765237b
cc80ad77148ed941ed85588ab49ec468e868bcc3
refs/heads/main
2023-07-01T17:43:20.146300
2021-08-05T05:20:02
2021-08-05T05:20:02
345,990,051
0
0
null
null
null
null
UTF-8
Python
false
false
2,592
py
#!/usr/bin/env python3 from PyQt5.QtWidgets import QDialog from PyQt5 import uic from PyQt5 import QtGui import os import sys # ******************************************* # Determine resource path being the relative path to the resource file. # The resource path changes when built for an executable. # ******************************************* def res_path(relative_path): try: base_path = sys._MEIPASS except Exception: base_path = os.path.abspath('.') resPath = os.path.join(base_path, relative_path) return resPath # ******************************************* # Change Log dialog class. # ******************************************* class ChangeLogDialog(QDialog): def __init__(self): super(ChangeLogDialog, self).__init__() uic.loadUi(res_path("changeLog.ui"), self) # Set dialog window icon. icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(res_path("./resources/about.png"))) self.setWindowIcon(icon) # Update change log. self.changeLogText.textCursor().insertHtml("<h1><b>CHANGE LOG</b></h1><br>") self.changeLogText.textCursor().insertHtml("<h2><b>Version 0.3</b></h2>") self.changeLogText.textCursor().insertHtml("<ul>" \ "<li>Made size of conversation text configurable. Configuration version up to 2.</li>" \ "<li>Fixed dialog names.</li>" \ "<li>Fixed bug with export of conversation with non-Unicode text.</li>" \ "<li>Added approximate embedding capacity for image to status bar.</li>" \ "<li>Updates to help information.</li>" \ "</ul><br>") self.changeLogText.textCursor().insertHtml("<h2><b>Version 0.2</b></h2>") self.changeLogText.textCursor().insertHtml("<ul>" \ "<li>Changed message edit box to be plain text.</li>" \ "<li>Added some support for message text in other than Unicode text.</li>" \ "<li>Changed blank user handle to \"Unknown\" and then notified user to change configuration.</li>" \ "<li>Reworked exporting of conversation and added description to User Guide.</li>" \ "</ul><br>") self.changeLogText.textCursor().insertHtml("<h2><b>Version 0.1</b></h2>") self.changeLogText.textCursor().insertHtml("<ul>" \ "<li>Initial draft release.</li>" \ "</ul>") # Scroll to top so that changes for most recent version are visible. self.changeLogText.moveCursor(QtGui.QTextCursor.Start) self.changeLogText.ensureCursorVisible()
[ "galacticwingcommander@gmail.com" ]
galacticwingcommander@gmail.com
92b84363252358e4f7121c5ed82ca2813858d01c
e6e3f9b250b1a78c58e2ab273e183f668b8bbc28
/robo-1.py
e07c8ec883e3330ea2dac1bf43ee591642cd4213
[]
no_license
guimeira/trabalho-fruitbots
ce46f8bbc0be045e807852c013ebbe53f90f58ca
64a7995e4d38e80248e1ba53426699043ae61486
refs/heads/master
2023-01-11T11:27:23.677236
2020-11-18T19:29:12
2020-11-18T19:29:12
314,018,607
1
0
null
null
null
null
UTF-8
Python
false
false
287
py
#Este é o robô adversário. Você não precisa modificar este arquivo, #a menos que você queira testar sua estratégia contra alguma outra. import random nome = 'Robô 1' def jogar(arena, frutas, robo, adversarios): return random.choice(['BAIXO', 'CIMA', 'DIREITA', 'ESQUERDA'])
[ "guimeira@guimeira.com" ]
guimeira@guimeira.com
b470632f4befa3d60c45ae72e6c529f1abebe725
6147f8d02a1485a807434ba1e18aea7e01b77918
/plasmapy/physics/tests/test_distribution.py
eb93cd7d07b9971c716158ef62f002ea1a60b36a
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
raajitr/PlasmaPy
04f59c45927ca6627cc6c79a1c1ac1c395ac23a3
ae049e3e636a1192027135f13431555cf9930f8c
refs/heads/master
2021-07-13T15:52:58.732862
2017-10-19T18:17:13
2017-10-19T18:17:13
107,585,851
0
0
null
2017-10-19T18:52:18
2017-10-19T18:52:17
null
UTF-8
Python
false
false
1,307
py
"""Tests for functions that uses Distribution functions.""" import numpy as np import pytest from astropy import units as u from ...constants import (m_p, m_e, c, mu0, k_B, e, eps0, pi, e) from ...atomic import (ion_mass, charge_state) from ..distribution import (Maxwellian_1D) T_e = 30000*u.K V_drift = 1000000*u.m/u.s start = -5000 stop = - start dv = 10000 * u.m/u.s v_vect = np.arange(start, stop, dtype='float64') * dv def test_Maxwellian_1D(): """test the 1D maxwellian distribution function""" max_index = Maxwellian_1D(v_vect, T=T_e, particle='e', V_drift=0*u.m/u.s ).argmax() assert np.isclose(v_vect[max_index].value, 0.0) max_index = Maxwellian_1D(v_vect, T=T_e, particle='e', V_drift=V_drift ).argmax() assert np.isclose(v_vect[max_index].value, V_drift.value) # integral of the distribution over v_vect integral = (Maxwellian_1D(v_vect, T=30000*u.K, particle='e')).sum()*dv assert np.isclose(integral, 1.0) std = (Maxwellian_1D(v_vect, T=T_e, particle='e')*v_vect**2*dv).sum() std = np.sqrt(std) T_distri = (std**2/k_B*m_e).to(u.K) assert np.isclose(T_distri.value, T_e.value) with pytest.raises(ValueError): Maxwellian_1D(1*u.m/u.s, T=1*u.K, particle='XXX')
[ "antoine.tavant@lpp.polytechnique.fr" ]
antoine.tavant@lpp.polytechnique.fr
6a9e91b65c2d88c02d3a75ffe8f476040710e5f7
a5020f97ac75e480e2ac386daf758df33289b8f9
/manage.py
af14ecd321e4edfa57d8336d47993a5852b335af
[]
no_license
emakarov/ovarenik
c7adcbd4b771f3264168b2ae3c2438302a7ff520
466e55645da223163bd065939fcbac068f16a043
refs/heads/master
2020-04-11T09:54:25.310143
2014-06-22T22:46:36
2014-06-22T22:46:36
12,011,538
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ovarenik.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "evgeni.makarov@gmail.com" ]
evgeni.makarov@gmail.com
cc98a3daa7f781ad7fb402c8757830b54974cfba
18fc5f1ce587477c5f12a51844e912587fd1cf5b
/tradecultivation/wsgi.py
58f500e0c7fc1ee4d79bf89d6939158e13ac46c1
[]
no_license
ericscheier/tradecultivation
5e6cd49bf2db1d909d939f1a9581cae95b8eacfd
9d3056d0f946cf14ae110770b6edb328eb3e133b
refs/heads/master
2021-01-19T20:50:24.754789
2017-06-30T22:41:22
2017-06-30T22:41:22
88,564,713
1
0
null
null
null
null
UTF-8
Python
false
false
500
py
""" WSGI config for tradecultivation project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTINGS_MODULE", "tradecultivation.settings") # Startup code from analysis import tasks tasks.prepare() tasks.preBuild() tasks.build() application = get_wsgi_application()
[ "eric@scheier.org" ]
eric@scheier.org
d311907a8099ad6baf6f160833eaa1542620353f
7e8a76c3e6f382b240bf8dd9d7fc0a00301be990
/lib/adposter/xc.py
3d3e1a8a303ea0ad55c33fa572f7d39d719dfe0f
[]
no_license
py-web/nowater_web
1ee6eb28e45553df5294008e142bc426f258ff91
5c594c8fec25c6d1246a674a7c9d03fd823db902
refs/heads/master
2021-01-17T23:33:41.711642
2014-04-25T04:15:15
2014-04-25T04:15:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,254
py
# coding: utf-8 import time import random import itertools from baidu_poster import BaiduUser def get_random_string(): return "".join([random.choice(string.letters) for x in range(random.randrange(40))]) def get_content(): r = lambda : random.random() > 0.5 ret = "" if r(): ret += "要看" if r(): ret += "这个" ret += "帖子" if r(): ret += "的" if r(): ret += "完美" if r(): ret += "脱水版" else: ret += "无水版" ret += "," if r(): ret += "可以" if r(): ret += "直接" if r(): ret += "在百度" else: ret += "在谷歌" ret += "搜索" if r(): ret += "一下" ret += " 浮云脱水小说站 " if r(): ret += "就可以看到了" ret += "," if r(): ret += "在那里" ret += "可以自动脱水" if r(): ret += "的" return ret if __name__ == "__main__": ''' 2714 ''' tiezis = open("posts.txt", "r") people = [] USERS = ( ("神马equal浮云9", "zhulei"), ("神马equal浮云8", "zhulei"), ("神马equal浮云7", "zhulei"), ("神马equal浮云6", "zhulei"), ("神马equal浮云5", "zhulei"), ("神马equal浮云4", "zhulei"), ("神马equal浮云2", "zhulei"), ("神马equal浮云3", "zhulei"), ("神马equal浮云1", "zhulei"), ("神马equals浮云", "zhulei"), ) for username, password in USERS: username = unicode(username, "utf-8") u = BaiduUser(username, password) u.login() people.append(u) people = itertools.cycle(people) for x in tiezis: if x.startswith("#") or not x.strip(): continue id, url = x.replace('"', '').strip().split(",") tuoshui_url = "http://www.zhikanlz.com/novel/%s" % id content = get_content() # content = '%(c)s<br>脱水版地址:<a href="%(url)s" target="_blank">%(url)s</a>' % {"c": content, "url": tuoshui_url} # content = '%(c)s<br>脱水版地址:%(url)s' % {"c": content, "url": tuoshui_url} print id, url, tuoshui_url people.next().reply(url, content) print time.sleep(random.randrange(10, 30))
[ "piglei2007@gmail.com" ]
piglei2007@gmail.com
78e397b8a58f688d5430a680877377c3a2db36f3
73b5d880fa06943c20ff0a9aee9d0c1d1eeebe10
/tinyos-1.x/contrib/t-mac/apps/taskthread.py
aaf638497ee5b76570d3204810ec2548a90fdc4e
[ "Intel" ]
permissive
x3ro/tinyos-legacy
101d19f9e639f5a9d59d3edd4ed04b1f53221e63
cdc0e7ba1cac505fcace33b974b2e0aca1ccc56a
refs/heads/master
2021-01-16T19:20:21.744228
2015-06-30T20:23:05
2015-06-30T20:23:05
38,358,728
0
1
null
null
null
null
UTF-8
Python
false
false
711
py
import threading class TaskThread(threading.Thread): """Thread that executes a task every N seconds""" def __init__(self): threading.Thread.__init__(self) self._finished = threading.Event() self._interval = 15.0 def setInterval(self, interval): """Set the number of seconds we sleep between executing our task""" self._interval = interval def shutdown(self): """Stop this thread""" print "shutting down",self self._finished.set() def run(self): while 1: if self._finished.isSet(): return self.task() # sleep for interval or until shutdown self._finished.wait(self._interval) def task(self): """The task done by this thread - override in subclasses""" pass
[ "lucas@x3ro.de" ]
lucas@x3ro.de
0f08151f96f850b21ac4e4da1454ae66516452c7
b1181e70be252d4f10a4c2641bdbf98736c7ff0e
/products/urls.py
ef5688120c2ba6e55f5fffeb04de13ea17408add
[]
no_license
nvkex/producthunt-clone-django.app
58260554b3aa46db4f5b516d906f40e9155d0fc7
1b9f31f04e148d6ffb126ad3e811b8bf8b5ccb7e
refs/heads/master
2022-11-19T03:59:30.248379
2020-07-10T09:55:07
2020-07-10T09:55:07
278,598,775
1
0
null
null
null
null
UTF-8
Python
false
false
259
py
from django.urls import path, include from . import views urlpatterns = [ path('create/', views.create, name = "create"), path('<int:product_id>', views.detail, name = "detail"), path('<int:product_id>/upvote', views.upvote, name = 'upvote'), ]
[ "scrbwrm@gmail.com" ]
scrbwrm@gmail.com
2c5dd42ecab076b491d2c6fbf4bd6a4e32109127
0b2177e2528bef23ea873e9eb45aecc8bcd22451
/library/device.py
c7a3e79d5fcb0530f653c35813c95268647570c7
[ "MIT" ]
permissive
craigmcmeechan/USBIPManager
c2fdceffbcbaa2b0582a570e0f1c2500755eb8b3
b03d8d9c0befcd70b7f67cfe61c0664f48d2939d
refs/heads/master
2022-11-12T05:08:47.882558
2020-07-06T11:25:11
2020-07-06T11:25:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,739
py
from library import config, ini, lang, log, performance, periphery, queue from asyncio import get_event_loop from threading import Thread, Event from PyQt5.QtCore import QObject, pyqtSignal from PyQt5.QtWidgets import QTreeWidgetItem # noinspection PyPep8Naming class Signal(QObject): """ PyQt signals for correct daemon device tree calls from a different thread """ addTopLevelItem_ = pyqtSignal(object) setText_ = pyqtSignal(str, int, str) setToolTip_ = pyqtSignal(str, int, object) setIcon_ = pyqtSignal(str, int, object) def addTopLevelItem(self, daemon): """ Load daemon as a top-level item - emit the signal """ self.addTopLevelItem_.emit(daemon) def setText(self, bid, col, baud): """ Set incoming/outgoing bandwidth - emit the signal """ self.setText_.emit(bid, col, baud) def setToolTip(self, bid, col, html): """ Set tooltip for a daemon during capturing operation - emit the signal """ self.setToolTip_.emit(bid, col, html) def setIcon(self, bid, col, icon): """ Set status icon for a daemon during capturing operation - emit the signal """ self.setIcon_.emit(bid, col, icon) # noinspection PyPep8Naming class Tree(metaclass=config.Singleton): """ Daemon device bandwidth tree """ def __init__(self, base, ip_addr): self._base = base self._ip_addr = ip_addr self._sw_config = ini.SWConfig(self._base) self._lang = lang.Tree self._signal = Signal() self._signal.addTopLevelItem_.connect(lambda __daemon: self._addTopLevelItem(__daemon)) self._signal.setText_.connect(lambda __bid, __col, __baud: self._setText(__bid, __col, __baud)) self._signal.setToolTip_.connect(lambda __bid, __col, __html: self._setToolTip(__bid, __col, __html)) self._signal.setIcon_.connect(lambda __bid, __col, __icon: self._setIcon(__bid, __col, __icon)) def _getDaemon(self): """ """ _root = self._base.dev_tree.invisibleRootItem() for idx in range(_root.childCount()): _daemon = _root.child(idx) if _daemon.text(0) == self._ip_addr: return _daemon, idx return None, None def _takeDaemon(self, idx): """ """ return self._base.dev_tree.takeTopLevelItem(idx) def _loadDaemon(self): """ """ _daemon = QTreeWidgetItem([self._ip_addr]) self.addTopLevelItem(_daemon) return _daemon, 0 def _getDevice(self, bid): """ """ _daemon, _idx = self._getDaemon() if not _daemon: return None, None for idx in range(_daemon.childCount()): _dev = _daemon.child(idx) if _dev.text(0) == bid: return _daemon, _dev return _daemon, None def _addTopLevelItem(self, daemon): """ Load daemon as a top-level item - inner function """ self._base.dev_tree.addTopLevelItem(daemon) self._base.dev_tree.expandAll() def _setText(self, bid, col, baud): """ Set incoming/outgoing bandwidth - inner function """ _daemon, _dev = self._getDevice(bid) if _dev: _baud = _dev.child(0) _baud.setText(col, baud) def _setToolTip(self, bid, col, html): """ Set tooltip for a daemon during capturing operation - inner function """ _daemon, _dev = self._getDevice(bid) if _dev: _dev.setToolTip(col, html) def _setIcon(self, bid, col, icon): """ Set status icon for a daemon during capturing operation - inner function """ _daemon, _dev = self._getDevice(bid) if _dev: _dev.setIcon(col, icon) def addTopLevelItem(self, daemon): """ Load daemon as a top-level item from a different thread """ self._signal.addTopLevelItem(daemon) def setText(self, bid, col, baud): """ Set incoming/outgoing bandwidth from a different thread """ self._signal.setText(bid, col, baud) def setToolTip(self, bid, col, html): """ Set status tooltip for a daemon during capturing operation from a different thread """ self._signal.setToolTip(bid, col, html) def setIcon(self, bid, col, icon): """ Set status icon for a daemon during capturing operation from a different thread """ self._signal.setIcon(bid, col, icon) def loadDevice(self, bid): """ """ _device = QTreeWidgetItem([bid]) _daemon, _idx = self._getDaemon() if not _daemon: _daemon, _idx = self._loadDaemon() _daemon, _dev = self._getDevice(bid) if _dev: return _daemon = self._takeDaemon(_idx) if self._sw_config.dev_perf: _baud = QTreeWidgetItem([self._lang.ParamBaud, self._lang.ParamNA, self._lang.ParamNA]) _device.addChild(_baud) _daemon.addChild(_device) self.addTopLevelItem(_daemon) def unloadDevice(self, bid): """ """ _daemon, _dev = self._getDevice(bid) if _dev: _daemon.removeChild(_dev) def setIncoming(self, bid, baud): """ Set incoming bandwidth """ self.setText(bid, 1, baud) def setOutgoing(self, bid, baud): """ Set outgoing bandwidth """ self.setText(bid, 2, baud) # noinspection PyPep8Naming class USBTop(metaclass=config.Singleton): """ Daemon device bandwidth processing """ def __init__(self, base, ip_addr): self._base = base self._ip_addr = ip_addr self._loop = get_event_loop() self._sw_config = ini.SWConfig(self._base) self._manager = queue.Manager(self._base) self._name_running = f'USBTOP processing running : {self._ip_addr}' self._name_cancelling = f'USBTOP processing cancelling : {self._ip_addr}' self._ssh = periphery.SSH(self._base, self._ip_addr) self._log = log.Manager(self._base) self._lang = lang.USBTop self._tree = Tree(self._base, self._ip_addr) self._dmn_perf = performance.Device(self._base) self._thread = Thread() self._event = Event() self._pid = None # noinspection PyMethodMayBeStatic def _idx(self, row): """ """ return [param for param in row.split() if param.isdigit()].pop() def _processing(self, buf): """ """ _bid = None for row in buf: if 'Bus ID' in row: _bid = self._idx(row) continue if 'Device ID' in row: _did = self._idx(row) _value = row.split() self._dmn_perf.setProcessing(self._ip_addr, _bid, _did, (_value[4], _value[6])) def _exec(self): """ Run the USBTOP processing - daemon thread """ _query = 'sudo usbtop' _echo = self._ssh.exec(_query) if not all(_echo): return self._log.setError(f'{self._lang.LogSeparator} {self._ip_addr} : {self._lang.RunQuery} : {_query}') self._pid, _stdin, _stdout, _stderr = _echo _buf = list() while not self._event.is_set(): _line = _stdout.readline(2048) if not _line: return self._event.set() if '\x1b[2J\x1b[1;1H' in _line: self._processing(_buf) _buf = list() _buf.append(_line.strip().replace('\x1b[2J\x1b[1;1H', '')) continue _buf.append(_line.strip()) def __run(self): """ Run the USBTOP processing - inner function """ self._event = Event() self._thread = Thread(target=self._exec, name=self._name_running) self._thread.start() self._log.setSuccess(f'{self._lang.LogSeparator} {self._ip_addr} : {self._lang.RunSuccess}') self._event.wait() return self._event.is_set() async def _run(self): """ Run the USBTOP processing - coroutine """ if not self._sw_config.dev_perf: return self._log.setError(f'{self._lang.LogSeparator} {self._ip_addr} : {self._lang.EnableRequired}') if self.isRunning(): return self._log.setError(f'{self._lang.LogSeparator} {self._ip_addr} : {self._lang.AforeRun}') if not await self._ssh.establish(self._lang.LogSeparator): return self._log.setInformation(f'{self._lang.LogSeparator} {self._ip_addr} : {self._lang.CancelSuccess}') await self._loop.run_in_executor(None, self.__run) if self.isRunning(): self.cancel() async def _cancel(self): """ Cancel the USBTOP processing - coroutine """ if not self._sw_config.dev_perf: return self._log.setError(f'{self._lang.LogSeparator} {self._ip_addr} : {self._lang.EnableRequired}') if not self.isRunning(): return self._log.setError(f'{self._lang.LogSeparator} {self._ip_addr} : {self._lang.AforeCancel}') self._event.set() self._thread.join() if not self.isRunning(): self._ssh.kill(self._pid) return self._log.setWarning(f'{self._lang.LogSeparator} {self._ip_addr} : {self._lang.CancelSuccess}') return self._log.setError(f'{self._lang.LogSeparator} {self._ip_addr} : {self._lang.CancelError}') def run(self): """ Run the USBTOP processing - calling coroutine """ self._manager.exec(self._run, self._name_running) def cancel(self): """ Cancel the USBTOP processing - calling coroutine """ self._manager.exec(self._cancel, self._name_cancelling) def isRunning(self): """ Check if the USBTOP processing is running """ return self._thread.is_alive()
[ "amo.mikhail@gmail.com" ]
amo.mikhail@gmail.com
3c1c7437baa10f6a58807e48f41e44a34cb71e97
2000c8ffbd1fe786c47804a9df7cc2ab4476181d
/Hafta 6/pset6/hello.py
672e28e2eb0ba113657c6ec31c147b723b7b54ea
[]
no_license
berkcangumusisik/CS50
49f4207aff1eb494b305af3bd39e1684ac16219e
362ecc63813f6e41c1dc0cbc939fa88536fdb689
refs/heads/main
2023-07-08T20:22:41.589793
2021-08-14T14:37:52
2021-08-14T14:37:52
352,071,672
6
1
null
null
null
null
UTF-8
Python
false
false
59
py
name = input("What is your name?\n") print("hello, "+name)
[ "gumusisikberkcan@gmail.com" ]
gumusisikberkcan@gmail.com
85231f09f4eacbd9648076f2dddc9c9756b6ab16
59e22e0b13d4c717221b5ba66a2554ce582a6e93
/OvertheWire/Krypton/freq.py
d1650db3e9a0784c3530ec6c49aaccf0e38931a2
[]
no_license
Jacksole/ctf
b0da0e2fca475f948e5b6c265a4b7c66f4670107
0aa9d25776b0d6a8c346061b8ec3294a28a91e2b
refs/heads/master
2023-06-15T13:24:19.255676
2021-07-12T10:03:08
2021-07-12T10:03:08
309,115,961
0
0
null
2020-12-10T10:29:37
2020-11-01T14:39:34
Python
UTF-8
Python
false
false
936
py
from collections import Counter import string def readfile(): data = [] try: #Open informatic file f1 = open("/home/leaundre/Projects/Github/ctf/OvertheWire/Krypton/found1", "r") f2 = open("found2", 'r') f3 = open("found3", 'r') f4 = open("krypton4", 'r') # Read contain data.append(f1.read()) data.append(f2.read()) data.append(f3.read()) data.append(f4.read()) # Close file f1.close() f2.close() f3.close() f4.close() except: print("Error when reading file") return data def analystfre(data): combinedata = ''.join(data[:-2]) counter = Counter(combinedata) print("===========Counter ============== \n") print(counter) data = readfile() analystfre(data) cipher = data[3].replace(' ', '') intab = 'JDSQNVIKWBAGXFMYUCA' outab = 'THEARLVWDOBNFKOPSIB' print("Original data \n %s") % cipher tran = str.translate(intab, outab) print("Decrypt data \n %s") % cipher.translate(tran)
[ "leaundre.jackson87@gmail.com" ]
leaundre.jackson87@gmail.com
85ee1780dc5bf74a816a50f8d07aa0852a2e9f2b
03a334c1b8fdba500db4ee4ee2350a4d27a3a0f3
/tests/conftest.py
83ed4f3cb8bba279349fa1b2a1e86f5ccaa05d30
[]
no_license
ggeorgekkariuki/Relearning-Flask-Via-Tutorial
0dd1a10f471fbda6a0cffdefef3ecf1ea6b5d609
cd1c393a608d35c3c5703db6b289625e350af38e
refs/heads/master
2023-01-21T21:02:28.925661
2020-11-16T11:12:49
2020-11-16T11:12:49
306,656,781
0
0
null
null
null
null
UTF-8
Python
false
false
2,582
py
""" https://flask.palletsprojects.com/en/1.1.x/tutorial/tests/ This file will contain setup functions called 'fixtures' that each test uses. Python modules start with 'test_' Install pytest and coverage in your environment The 'app' fixture will call the application factory in __init__.py and pass 'test_config' to configure the application and db for testing. NB: A fixture is function that needs to run first before each test. The purpose of fixtures is to provide a fixed baseline upon which tests can reliably and repeatedly execute. """ import os import tempfile import pytest from flaskr import create_app from flaskr.db import get_db, init_db with open(os.path.join(os.path.dirname(__file__), 'data.sql'), 'rb') as f: _data_sql = f.read().decode('utf8') @pytest.fixture def app(): db_fd, db_path = tempfile.mkstemp() app = create_app({ 'TESTING': True, 'DATABASE': db_path, }) with app.app_context(): init_db() get_db().executescript(_data_sql) yield app os.close(db_fd) os.unlink(db_path) @pytest.fixture def client(app): return app.test_client() @pytest.fixture def runner(app): return app.test_cli_runner() ''' 1. tempfile.mkstemp tempfile.mkstemp creates a temporary file that returns a file object and the name of the file at the same time. The DATABASE path is overridden so it points to this temporary path instead of the instance folder. After setting the path, the DATABASE tables are created and the test data is inserted (test/data.sql). When the test is complete, the temporary file is closed and removed. 2. TESTING Tells Flask that the app is in test mode 3. Client and Runner Fixtures Client - These use the created app fixture to make requests to the application without running the server Runner - creates a runner that can call the Click conmmands registered with the application. ''' # AUTHENTICATION ''' This class is used to ensure that the 'test' user is logged in to access all the views that require authentication before accessing the view. ''' class AuthActions(object): def __init__(self, client): self._client = client def login(self, username='test', password='test'): return self._client.post( '/auth/login', data={'username': username, 'password':password} ) def logout(self): return self._client.get('/auth/logout') ''' With the auth fixture we can call '/auth/login' to log in as test user ''' @pytest.fixture def auth(client): return AuthActions(client)
[ "gconsummer.gk@gmail.com" ]
gconsummer.gk@gmail.com
9dfd42487ccf8e73d4d4d17ab1e7e7ba183ef477
9a6323fd69286f2ddce8a755612fb235a4b85956
/cruzdb/sequence.py
30e04e8a8cfcd79bf5f6b0eedf6e1ed94650416c
[ "MIT" ]
permissive
lardenoije/cruzdb-1
44b544ede144e11462b33967c6ce63cf7a7cecb0
7858dc4da7c2574751ccace41b3a525c11e629dc
refs/heads/master
2022-12-14T13:06:37.660233
2020-08-27T11:55:14
2020-08-27T11:55:14
289,082,044
0
0
MIT
2020-08-20T18:37:47
2020-08-20T18:37:45
null
UTF-8
Python
false
false
782
py
import urllib as U __all__ = ('sequence', ) def _seq_from_xml(xml): start = xml.find(">", xml.find("<DNA")) + 1 end = xml.rfind("</DNA>") return xml[start:end].replace(' ', '').replace('\n', '').strip() def sequence(db, chrom, start, end): """ return the sequence for a region using the UCSC DAS server. note the start is 1-based each feature will have it's own .sequence method which sends the correct start and end to this function. >>> sequence('hg18', 'chr2', 2223, 2230) 'caacttag' """ url = "http://genome.ucsc.edu/cgi-bin/das/%s" % db url += "/dna?segment=%s:%i,%i" xml = U.urlopen(url % (chrom, start, end)).read() return _seq_from_xml(xml) if __name__ == "__main__": import doctest doctest.testmod()
[ "bpederse@gmail.com" ]
bpederse@gmail.com
1ef143b612abfc4c0965851c02de794176647fe1
879bfac53c7dd26e1f184423289a357feee810b0
/spider-frontend/spider_example/urls.py
7c85222567c8a5ff7cfe3c14b8f14f8517861925
[]
no_license
zhangjie0416/CaadSpider
eeb7ce5b388b27298ef9131de9edca3dbdde18f5
7075f9743184fa330959e45fcce78d32c8cff285
refs/heads/main
2023-03-10T18:34:30.033734
2021-02-23T11:04:02
2021-02-23T11:04:02
341,521,973
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
from django.urls import path from spider_example import views urlpatterns = [ path('get_examples_user/', views.get_examples_user), path('get_examples_all/', views.get_examples_all), path('get_details/', views.get_details), path('delete_example/', views.delete_example), ]
[ "545768869@qq.com" ]
545768869@qq.com
bcfb3e92c6841ae30a857ecdef63cff63e46b2d7
42ebdc1d84a0e0ba3d6a434ca44e00e7cffac207
/random_question_order/__init__.py
abf6bdfda4dbf617af113fc046b636307d4375ec
[ "MIT" ]
permissive
kirikuroda/my_otree
0267a82bb1e0e4e231c0f3e30349170e36b7e22d
95b0d0791d5cc838b448fb5669c78e4deefbcea9
refs/heads/main
2023-06-17T01:02:27.155067
2021-07-14T05:01:56
2021-07-14T05:01:56
385,818,287
0
1
null
null
null
null
UTF-8
Python
false
false
701
py
from otree.api import * class Constants(BaseConstants): name_in_url = 'random_question_order' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): aaa = models.BooleanField() bbb = models.BooleanField() ccc = models.StringField() ddd = models.IntegerField() # PAGES class MyPage(Page): form_model = 'player' @staticmethod def get_form_fields(player: Player): import random form_fields = ['aaa', 'bbb', 'ccc', 'ddd'] random.shuffle(form_fields) return form_fields page_sequence = [MyPage]
[ "kuroda.kiri@gmail.com" ]
kuroda.kiri@gmail.com
04796fd5f769f38fc719e10c65548a1c818fe7a2
be7328f95ef3406490bace8a6fd8c36e29983096
/mywebsite/settings.py
37b91a204daa0b6022775d6c90cd55ca21f08abf
[]
no_license
danivherk/mywebsite
3e8834cad6e8ee6862b84a683d8231cd8b83d7cb
1e64ec7d90fdc23caa6c191c8b9de23916fcb931
refs/heads/master
2020-03-28T19:27:17.370532
2018-11-22T12:53:29
2018-11-22T12:53:29
148,977,763
0
0
null
null
null
null
UTF-8
Python
false
false
3,615
py
""" Django settings for mywebsite project. Generated by 'django-admin startproject' using Django 2.0.2. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/2.0/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = 'w9#+o^d&9pdx%gc#cxlvj=cghd5%rr_(q_mw2)c(vil)5(@8ei' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True ALLOWED_HOSTS = ["localhost","127.0.0.1"] # Application definition INSTALLED_APPS = [ 'services.apps.ServicesConfig', 'videoediting.apps.VideoeditingConfig', 'mediaconsulting.apps.MediaconsultingConfig', 'design.apps.DesignConfig', 'audio.apps.AudioConfig', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', ] MIDDLEWARE = [ 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', ] ROOT_URLCONF = 'mywebsite.urls' TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['mywebsite/templates'], 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ 'django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', ], }, }, ] WSGI_APPLICATION = 'mywebsite.wsgi.application' # Database # https://docs.djangoproject.com/en/2.0/ref/settings/#databases DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql', 'NAME': 'dcresodb', 'USER': 'postgres', 'PASSWORD': 'Dcresod4t4b4se', 'HOST': 'localhost', 'PORT': '5432', } } # Password validation # https://docs.djangoproject.com/en/2.0/ref/settings/#auth-password-validators AUTH_PASSWORD_VALIDATORS = [ { 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', }, { 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', }, { 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', }, { 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', }, ] # Internationalization # https://docs.djangoproject.com/en/2.0/topics/i18n/ LANGUAGE_CODE = 'en-us' TIME_ZONE = 'UTC' USE_I18N = True USE_L10N = True USE_TZ = True # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/2.0/howto/static-files/ STATICFILES_DIRS = [ os.path.join(BASE_DIR,'mywebsite/static/') ] STATIC_ROOT = os.path.join(BASE_DIR,'static') STATIC_URL = '/static/' MEDIA_URL = '/media/' MEDIA_ROOT = os.path.join(BASE_DIR,'media')
[ "danivherk@gmail.com" ]
danivherk@gmail.com
549cb424af0757bf36fd12680c9129b25d719bc8
1a95cda55573a6836ac631bc6e16ec312e07759b
/server.py
494512434222bc9a674e78746f4547874003cbfc
[]
no_license
olajowon/dormer-web
b021c01694f72b31b8fc498811ec54da99786daa
d7a06a7c2be5ca6d34bedff26fbf70cd9e969ae8
refs/heads/master
2023-03-13T10:43:04.280104
2021-03-11T08:39:23
2021-03-11T08:39:23
320,578,280
3
0
null
null
null
null
UTF-8
Python
false
false
2,451
py
# Created by zhouwang on 2020/11/13. import os import sys PROJECT_DIR = os.path.dirname(os.path.abspath(__file__)) VENV_DIR = os.path.join(PROJECT_DIR, 'venv') def start(): print('#### start\n') os.system(f'rm -rf {PROJECT_DIR}/static && \cp -rf {PROJECT_DIR}/ui/dist/static {PROJECT_DIR}/static') os.system(f'\cp -rf {PROJECT_DIR}/ui/dist/index.html {PROJECT_DIR}/templates/index.html') os.system(f'source {VENV_DIR}/bin/activate && ' f'pip install -r {PROJECT_DIR}/requirements.txt') status = os.system(f'source {VENV_DIR}/bin/activate && cd {PROJECT_DIR} &&' f'uwsgi --ini {PROJECT_DIR}/uwsgi_socket.ini') print('#### start %s\n' % ('successful' if status == 0 else 'fail')) def restart(): print('#### restart\n') os.system(f'rm -rf {PROJECT_DIR}/static && \cp -rf {PROJECT_DIR}/ui/dist/static {PROJECT_DIR}/static') os.system(f'\cp -rf {PROJECT_DIR}/ui/dist/index.html {PROJECT_DIR}/templates/index.html') os.system(f'source {VENV_DIR}/bin/activate && ' f'pip install -r {PROJECT_DIR}/requirements.txt') status = os.system(f'source {VENV_DIR}/bin/activate && uwsgi --reload /var/run/dormer-web-uwsgi.pid') print('#### restart %s\n' % ('successful' if status == 0 else 'fail')) def stop(): print('#### stop\n') status = os.system(f'source {VENV_DIR}/bin/activate && uwsgi --stop /var/run/dormer-web-uwsgi.pid') print('#### stop %s\n' % ('successful' if status == 0 else 'fail')) def build(): print('#### build\n') status = os.system(f'cd {PROJECT_DIR}/ui && npm install && npm run build') print('#### build %s\n' % ('successful' if status == 0 else 'fail')) def migrate(): print('#### migrate\n') status = os.system(f'source {VENV_DIR}/bin/activate && python {PROJECT_DIR}/manage.py migrate') print('#### migrate %s\n' % ('successful' if status == 0 else 'fail')) def venv(): if not os.path.isdir(VENV_DIR): status = os.system(f'cd {PROJECT_DIR} && python3 -m venv venv') print('#### venv %s\n' % ('successful' if status == 0 else 'fail')) def init(): venv() def main(): init() argv = sys.argv if argv[1] == 'start': start() elif argv[1] == 'stop': stop() elif argv[1] == 'restart': restart() elif argv[1] == 'build': build() elif argv[1] == 'migrate': migrate() if __name__ == '__main__': main()
[ "zhouwang@yunniao.me" ]
zhouwang@yunniao.me
889562c9f34c73f4255b4b43485392e8abd4c663
1970daf2eafe8546636d30b5fab70832b95ddbde
/midistegano.py
7e7c9c48d97bd50b30d1b8f7d78f571bc9100af5
[ "MIT" ]
permissive
nonameable/steganography-with-midi
40a4d58409b038cbc4b95c20e2e993e0991598e9
ee7bba03a676517db425e86325d089c2a6dac6f4
refs/heads/master
2020-03-15T19:06:31.820635
2018-05-07T07:54:20
2018-05-07T07:54:20
132,300,365
2
0
null
null
null
null
UTF-8
Python
false
false
1,751
py
from fileIO import FileIO from hiding import Hider from unraveling import Unraveler import sys from os import path intention=sys.argv[1] midi_file_name=sys.argv[2] name = None if intention=="-hide": message_file_name = sys.argv[3] if path.isfile(midi_file_name): if path.isfile(message_file_name): parts=midi_file_name.split(".") extension=parts[-1] if extension != "mid": print "The file must have a .mid extension" else: fileIO = FileIO() message = fileIO.get_text_from(message_file_name) hider = Hider() hider.hide(midi_file_name,message) print "The output file name will be: " "secret_in_"+ midi_file_name else: print "You must put the message file in the same directory as midistegano.py" else: print "You must put the .mid file in the same directory as run.py" elif intention=="-reveal": if path.isfile(midi_file_name): parts=midi_file_name.split(".") name = parts[0]; extension=parts[-1] if extension != "mid": print "The file must have a .mid extension" else: unraveler = Unraveler() hidden_message = unraveler.get_hidden_message(midi_file_name) print "The hidden message is: %s" % hidden_message fileIO = FileIO() fileIO.print_to_file('hidden_message_in_' + name, hidden_message) else: print "The midi file you entered does not exist. Please enter a valid midi filename" else: error_message = intention + " is not a midistegano valid flag. Write either -hide or -reveal" print error_message
[ "ddelgado2013@gmail.com" ]
ddelgado2013@gmail.com
e78a3b00445a74f43bada0cdbef0f2f5aeff4fcd
9eb972f4623e6eb424238dd747ea0a480efd0e8a
/futura_ui/app/ui/dialogs/transfer_production.py
012029c15e6f9aad783b6cb7d84ef193cf8d2005
[ "BSD-3-Clause" ]
permissive
pjamesjoyce/futura
727136dedeebed7fbf464612192f0472c31d1f6d
c0f129b4964f2b01a2853828b83d57ed53eabcb8
refs/heads/master
2023-04-13T02:09:03.476138
2023-03-16T10:32:50
2023-03-16T10:32:50
218,276,474
9
2
BSD-3-Clause
2020-01-15T10:05:07
2019-10-29T11:59:27
Python
UTF-8
Python
false
false
1,163
py
from PySide2 import QtWidgets, QtGui from ..utils import load_ui_file import os class TransferProductionDialog(QtWidgets.QDialog): def __init__(self, parent=None): super(TransferProductionDialog, self).__init__(parent) ui_path = 'transfer_production.ui' ui_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), ui_path) load_ui_file(ui_path, self) validator = QtGui.QDoubleValidator() validator.setDecimals(0) self.newValueLineEdit.setValidator(validator) self.transferLabel.setText('Percentage:') self.newValueLineEdit.setInputMask("009%") self.percentageRadioButton.clicked.connect(self.radio_button_change) self.amountRadioButton.clicked.connect(self.radio_button_change) def radio_button_change(self): if self.percentageRadioButton.isChecked(): self.transferLabel.setText('Percentage:') self.newValueLineEdit.setInputMask("009%") elif self.amountRadioButton.isChecked(): self.transferLabel.setText('Amount:') self.newValueLineEdit.setInputMask(None) print('Amount')
[ "pjamesjoyce@gmail.com" ]
pjamesjoyce@gmail.com
214cffef313952a222cba262570dd66683aed317
b424a13f032d5a607e6df4dd78bc47ad1d06a147
/scipy/integrate/tests/test_integrate.py
dbfd7b670fcccfdfb768c789b5b1e0a794bbe1da
[]
no_license
EnjoyLifeFund/macSierra-py36-pkgs
1e7eeb9b55415da6eb12465d67730d76e9cc619a
0ac677fbbfa7b6d8c527fe2c759ba05117b07fd2
refs/heads/master
2021-01-20T10:23:50.044019
2017-09-05T02:53:26
2017-09-05T02:53:26
90,333,987
0
1
null
null
null
null
UTF-8
Python
false
false
107
py
../../../../../../Cellar/scipy/0.19.1_1/lib/python3.6/site-packages/scipy/integrate/tests/test_integrate.py
[ "raliclo@gmail.com" ]
raliclo@gmail.com
6d04867690361f9c47fb28ebc97f304c557ec557
ff6248be9573caec94bea0fa2b1e4b6bf0aa682b
/output/StudentProblem/10.21.9.62/1/1569576134.py
10eaa60b5f53e410b34cd127f6fbef1654f01b12
[]
no_license
LennartElbe/codeEvo
0e41b1a7705204e934ef71a5a28c047366c10f71
e89b329bc9edd37d5d9986f07ca8a63d50686882
refs/heads/master
2020-12-21T17:28:25.150352
2020-03-26T10:22:35
2020-03-26T10:22:35
236,498,032
0
0
null
null
null
null
UTF-8
Python
false
false
1,671
py
============================= test session starts ============================== platform darwin -- Python 3.7.4, pytest-5.4.1, py-1.8.1, pluggy-0.13.1 rootdir: /tmp collected 0 items / 1 error ==================================== ERRORS ==================================== ________________________ ERROR collecting test session _________________________ ../../../Library/Python/3.7/lib/python/site-packages/_pytest/python.py:513: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../../../Library/Python/3.7/lib/python/site-packages/py/_path/local.py:701: in pyimport __import__(modname) <frozen importlib._bootstrap>:983: in _find_and_load ??? <frozen importlib._bootstrap>:967: in _find_and_load_unlocked ??? <frozen importlib._bootstrap>:677: in _load_unlocked ??? ../../../Library/Python/3.7/lib/python/site-packages/_pytest/assertion/rewrite.py:143: in exec_module source_stat, co = _rewrite_test(fn, self.config) ../../../Library/Python/3.7/lib/python/site-packages/_pytest/assertion/rewrite.py:328: in _rewrite_test tree = ast.parse(source, filename=fn) /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ast.py:35: in parse return compile(source, filename, mode, PyCF_ONLY_AST) E File "/private/tmp/blabla.py", line 17 E elif x is ""_ E ^ E SyntaxError: invalid syntax =========================== short test summary info ============================ ERROR ../../../../../tmp !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! =============================== 1 error in 0.17s ===============================
[ "lenni.elbe@gmail.com" ]
lenni.elbe@gmail.com
87d93510e03f6d0aaff70dd940cdd47b57ee1792
d0df16be95fe9265484e20fb9e3fcd6c16d20b64
/api_connectors/fb_insights.py
15ccbb9d1572caddab36038457be846162e64d47
[]
no_license
ezecape/Connectors
5dbc30487f0bc1aa31beb1abd8219f72257833c6
b4409a3fd181b3414e343b5b80d4de1d756262cf
refs/heads/master
2022-11-25T08:24:16.062292
2020-07-31T20:52:51
2020-07-31T20:52:51
284,124,199
0
0
null
null
null
null
UTF-8
Python
false
false
9,799
py
from facebook_business import FacebookSession, FacebookAdsApi from facebook_business.adobjects.user import User from facebook_business.adobjects.adaccount import AdAccount from api_connectors.utils import iterate_flatten, df_to_csv, get_yesterdays_date, S3Buckets, get_logger, to_tidy import pandas as pd import requests import json from aws_services.ssm import ParameterStore class FacebookAdsInsights: def __init__(self, access_params, api_version="v7.0"): self.logger = get_logger() assert "app_id" in access_params.keys(), "access_params must have a app_id key" assert "app_secret" in access_params.keys(), "access_params must have a app_secret key" assert "access_token" in access_params.keys(), "access_params must have a access_token key" self.logger.info("Test: Fecha ult. modificacion: 23/06/2020") self.app_id = access_params["app_id"] self.app_secret = access_params["app_secret"] self.access_token = access_params["access_token"] self.api_version = api_version self.session = FacebookSession(app_id=self.app_id, app_secret=self.app_secret, access_token=self.access_token) self.api = FacebookAdsApi(self.session, api_version=self.api_version) FacebookAdsApi.set_default_api(self.api) self.me = User(fbid="me") def get_user_accounts(self): return self.me.get_ad_accounts() def request(self, config_params, request_params): assert "account_id" in config_params.keys(), "config_params must have a account_id key" assert "fields" in request_params.keys(), "request_params must have a fields key of type list" assert type(request_params["fields"]) is list, "field must be list" assert "params" in request_params.keys(), "request_params must have a params key of type dict" assert type(request_params["params"]) is dict, "params must be dict" # assert "flatten" in config_params.keys(), "config_params must have a flatten key which can be True or False" assert "to_csv" in config_params.keys(), "config_params must have a to_csv key which can be True or False" assert "to_tidy" in config_params.keys(), "config_params must have a to_tidy key which can be True or False" assert "selector_cols" in config_params.keys(), "config_params must have a selector_cols key" # flatten = config_params["flatten"] == "True" to_csv = config_params["to_csv"] == "True" tidy = config_params["to_tidy"] == "True" response = AdAccount(config_params["account_id"]).get_insights(fields=request_params["fields"], params=request_params["params"]) if tidy and to_csv: response = to_tidy([i.export_all_data() for i in response], config_params["selector_cols"]) response = df_to_csv(response) elif tidy and not to_csv: response = to_tidy([i.export_all_data() for i in response], config_params["selector_cols"]) else: None return response class FacebookInsights: def __init__(self, access_params, api_version="v7.0"): self.logger = get_logger() self.number_of_params = int(access_params["number_of_params"]) self.ssm_client = ParameterStore(region_name=S3Buckets.REGION_NAME) self.logger.info("Test: Fecha ult. modificacion: 23/06/2020") self.logger.info("ParameterStore client instantiated: %s", self.ssm_client) self.page_token = None self.root = "https://graph.facebook.com/" self.api_version = api_version def get_page_access(self, page_id): for i in range(self.number_of_params): accesses,version = self.ssm_client.get_parameter("fb_page_"+str(i+1)) accesses = json.loads(accesses) if page_id in accesses.keys(): self.page_token = accesses[page_id] break else: None if self.page_token is None: self.logger.info("Page token was not found!") def get_report_(self, report_type, config_params, request_params): assert report_type in ["posts_created", "network_report", "instagram_basics"], "report not implemented" if report_type == "posts_created": c_params = {} r_params = {"node_id": request_params["node_id"], "parameters": {"fields": "id,name,posts"}, "node_component": ""} try: response = self.standard_request_(c_params, r_params) result = json.loads(response.text) df = pd.DataFrame(result["posts"]["data"]) df["node_id"] = request_params["node_id"] if "filter" in config_params.keys(): if config_params["filter"] == "yesterday": df = df[pd.to_datetime(df["created_time"]).dt.date == get_yesterdays_date(False)] df["node_id"] = request_params["node_id"] df["date"] = get_yesterdays_date() df = df_to_csv(df) except KeyError: df = df_to_csv(pd.DataFrame(columns=["created_time", "id", "message", "story", "node_id", "date"])) return df elif report_type == "network_report": c_params = {} r_params = {"node_id": request_params["node_id"], "parameters": { "metric": """page_fan_adds,page_impressions_unique,page_engaged_users,page_fans, page_consumptions_by_consumption_type_unique,page_posts_impressions_organic,page_posts_impressions_paid, page_posts_impressions_unique,page_posts_impressions_viral,page_fan_removes,page_impressions, page_video_views_organic,page_video_views,page_impressions_viral""", "period": "day", "date_preset": "yesterday"}, "node_component": "insights"} try: response = self.standard_request_(c_params, r_params) response = json.loads(response.text) result = {} for i in response["data"]: result[i["name"]] = i["values"][0]["value"] df = pd.DataFrame(iterate_flatten(result), index=[0]) df["node_id"] = request_params["node_id"] df["date"] = get_yesterdays_date() df = df_to_csv(df) except KeyError: df = df_to_csv(pd.DataFrame( columns=["page_video_views_organic", "page_video_views", "page_fan_adds", "page_impressions_unique", "page_engaged_users", "page_fans", "page_posts_impressions_organic", "page_posts_impressions_paid", "page_posts_impressions_unique", "page_posts_impressions_viral", "page_fan_removes", "page_impressions", "page_impressions_viral", "node_id", "date"])) return df elif report_type == "instagram_basics": c_params = {} r_params = {"node_id": request_params["node_id"], "parameters": {"fields": "instagram_accounts{follow_count,followed_by_count,media_count}", "period": "day", "date_preset": "yesterday"}, "node_component": ""} try: response = self.standard_request_(c_params, r_params) response = json.loads(response.text) df = pd.DataFrame(response["instagram_accounts"]["data"]) df["node_id"] = request_params["node_id"] df["date"] = get_yesterdays_date() df = df_to_csv(df) except KeyError: df = df_to_csv(pd.DataFrame(columns=["follow_count", "followed_by_count", "id", "media_count", "node_id", "date"])) return df def standard_request_(self, config_params, request_params): assert "node_id" in request_params.keys(), "request_params must have an account_id key" url = self.root + self.api_version + "/" + request_params["node_id"] if len(request_params["node_component"]) > 0: url += "/" + request_params["node_component"] if "parameters" in request_params.keys(): url += "?" for parameter in request_params["parameters"].keys(): url += parameter+"="+request_params["parameters"][parameter]+"&" url += "access_token="+self.page_token response = requests.get(url) return response def request(self, config_params, request_params): assert "request_type" in config_params.keys() if config_params["request_type"] == "personalized": response = self.standard_request_(config_params, request_params) elif config_params["request_type"] == "predefined": response = self.get_report_(config_params["report_type"], config_params, request_params) else: raise Exception("request_type must be either personalized or predefined") return response
[ "--yaconoezequiel@gmail.com" ]
--yaconoezequiel@gmail.com
edba5fb696f35739bfbceb8abd85fdce77086d86
d636849728ddc59092b1afbffe90e1c7881005c5
/estruturas_controle/if_else_2.py
94be1481c3828f901fc7378a02407e441cf2551d
[ "MIT" ]
permissive
RenatoAlves06/ExerciciosDoCursoDePython
f8b54a77a4f33198b27857deb9c310fffe2fb909
12c527fe98b7ef301ad59a08f091061a82695140
refs/heads/main
2023-03-23T02:29:32.191864
2021-03-17T00:37:26
2021-03-17T00:37:26
348,532,396
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
def faixa_etaria(idade): if 0 <= idade < 18: return 'Menor de Idade' elif idade in range(18, 64): return 'Adulto' elif idade in range(65, 100): return 'Melhor idade' elif idade >= 100: return 'Centenario' if __name__ =='__main__': for idade in (17, 0, 35, 87, 113, -2): print(f'{idade}:{faixa_etaria(idade)}')
[ "Renato.delfos@gmail.com" ]
Renato.delfos@gmail.com
6f33400b5d9be756f111251b7c745372deed386a
a6e91af86daddbc4565870bdd7c2c4a36c5e74f7
/report/views.py
a4a5c9786294f77ce22a228d6da004d260be937b
[]
no_license
dsbrown/cava
0718360e859e2fc6291d946ed83c4bd9197bae86
822d77810392fcc981986b34859148dd5920a880
refs/heads/master
2021-01-17T17:25:25.176298
2016-08-10T01:02:53
2016-08-10T01:02:53
65,339,001
0
0
null
null
null
null
UTF-8
Python
false
false
3,916
py
from django.shortcuts import render, get_object_or_404 from django.views.generic import ListView from django.views.generic.edit import CreateView, UpdateView, DeleteView from report.models import Make, MakeAlias, Model, Trim, ModelAlias, ClPost, VehicleImages from collections import OrderedDict from django.core.urlresolvers import reverse_lazy # Create your views here. def index(request): return render(request,'report/index.html') def vehicles(request): makes = {} make_records = Make.objects.all() for make_record in make_records: models = {} model_records = Model.objects.filter(make=make_record) for model_record in model_records: try: models[model_record.niceName].append(model_record.year) except: models[model_record.niceName]=[model_record.year] ordered_models = OrderedDict(sorted(models.items(), key=lambda t: t[0])) makes[make_record.name]=ordered_models print makes ordered_makes = OrderedDict(sorted(makes.items(), key=lambda t: t[0])) return render(request,'report/vehicles.html',{'makes':ordered_makes}) class VehicleList(ListView): model = Make context_object_name = 'vehicle_makes' class ModelList(ListView): template_name = 'report/model_list.html' def get_queryset(self): self.make = get_object_or_404(Make, niceName=self.args[0]) return Model.objects.filter(make=self.make) def market(request): return render(request,'report/index.html') def settings(request): return render(request,'report/index.html') class MakeCreate(CreateView): model = Make fields = ['name','niceName','edmunds_id'] class MakeUpdate(UpdateView): model = Make fields = ['name','niceName','edmunds_id'] def get_object(self): self.make_record = get_object_or_404(Make, name=self.kwargs['make']) return get_object_or_404(Make, pk=self.make_record.pk) class MakeDelete(DeleteView): model = Make def get_object(self): self.make_record = get_object_or_404(Make, name=self.kwargs['make']) return get_object_or_404(Make, pk=self.make_record.pk) success_url = reverse_lazy('vehicles') class ModelCreate(CreateView): model = Model template_name = 'report/model_add.html' fields = ['name','niceName','edmunds_year_id', 'make', 'year', 'edmunds_year_id' ] success_url = reverse_lazy('vehicles') class ModelCreateMake(CreateView): model = Model template_name = 'report/model_add.html' fields = ['name','niceName','edmunds_year_id', 'make', 'year', 'edmunds_year_id' ] def get_initial(self): print self.kwargs['make'] self.make_record = get_object_or_404(Make, name__iexact=self.kwargs['make']) # Get the initial dictionary from the superclass method initial = super(ModelCreateMake, self).get_initial() # Copy the dictionary so we don't accidentally change a mutable dict initial = initial.copy() initial['make'] = self.make_record return initial class ModelUpdate(UpdateView): model = Model fields = ['name','niceName','edmunds_year_id', 'make', 'year', 'edmunds_year_id' ] def get_object(self): self.make_record = get_object_or_404(Make, name__iexact=self.kwargs['make']) #self.test_model_record = Model.objects.filter(year__iexact=self.kwargs['year'], make=self.make_record) self.model_record = get_object_or_404(Model, niceName__iexact=self.kwargs['model'], year=self.kwargs['year'], make=self.make_record) return get_object_or_404(Model, pk=self.model_record.pk) class ModelDelete(DeleteView): model = Model fields = ['name','niceName','edmunds_year_id', 'make', 'year', 'edmunds_year_id' ] def get_object(self): return get_object_or_404(Model, pk=self.kwargs['pk']) success_url = reverse_lazy('vehicles')
[ "browdavi@amazon.com" ]
browdavi@amazon.com
ced7beac5a590a9f44e53f16bdf70e44c8387a54
fc69e5d4138e2af8517d96f1f040ea7c04c532c3
/flask_sqla_api/__init__.py
5f1537cc1e6083fbc38414a42c5bfe7380cd0bc3
[ "MIT" ]
permissive
rafikdraoui/flask-sqla-api
9cb6966327c133f3a984ac1a41421a04cfc68b4f
dcd49df8916fa7f0f1630e7ff6d734f38a8c9f84
refs/heads/master
2021-01-10T04:53:01.297545
2020-04-05T21:02:45
2020-04-05T21:58:10
51,233,889
1
0
null
null
null
null
UTF-8
Python
false
false
34
py
from .api import Api # noqa:F401
[ "rafik@rafik.ca" ]
rafik@rafik.ca
6f7c62cb236795bd7f112d1fae1ae534b8839097
a7ea1fa36385301db3c8abdf2281916f09006a2a
/057.py
e1348e00e7c99c5286e46d67667aa931c9422298
[]
no_license
sanand0/euler
a3995c155e32dd8415cf31a1558674f9f0f8e425
6ae583d94f968e27102fa5bb7216bb0645dcc42c
refs/heads/master
2020-05-07T09:31:50.356639
2017-08-05T04:43:23
2017-08-05T04:43:23
1,225,954
9
0
null
null
null
null
UTF-8
Python
false
false
887
py
''' It is possible to show that the square root of two can be expressed as an infinite continued fraction. sqrt(2) = 1 + 1/(2 + 1/(2 + 1/(2 + ... ))) = 1.414213... By expanding this for the first four iterations, we get: 1 + 1/2 = 3/2 = 1.5 1 + 1/(2 + 1/2) = 7/5 = 1.4 1 + 1/(2 + 1/(2 + 1/2)) = 17/12 = 1.41666... 1 + 1/(2 + 1/(2 + 1/(2 + 1/2))) = 41/29 = 1.41379... The next three expansions are 99/70, 239/169, and 577/408, but the eighth expansion, 1393/985, is the first example where the number of digits in the numerator exceeds the number of digits in the denominator. In the first one-thousand expansions, how many fractions contain a numerator with more digits than denominator? ''' num, den, count = 3, 2, 0 for iter in xrange(0, 1000): num, den = num + den + den, num + den if len(str(num)) > len(str(den)): count += 1 print count
[ "root.node@gmail.com" ]
root.node@gmail.com
5e7b99cc19ea8b6717e0e650adb3a97b3ef95fb0
6e932aa6ec9424ae0238c559112fdd0214c52be6
/ffawp/ch03/9_excel_value_meets_condition_all_worksheets.py
381e78707679567f29dfa8a3629e04d9d439b903
[]
no_license
LingChenBill/python_first_introduce
d1c780dcd3653ef4cda39cc4a0c631a99071f088
32ff4a16fe10505fcb49e4762fc573f5f1c62167
refs/heads/master
2020-07-29T13:03:15.447728
2020-06-09T13:39:07
2020-06-09T13:39:07
209,813,590
0
0
null
null
null
null
UTF-8
Python
false
false
2,202
py
# Date:2020/5/25 # Author:Lingchen # Mark: 要使用基础Python在所有工作表中筛选出销售额大于$2000.00的所有行 # python 9_excel_value_meets_condition_all_worksheets.py data/sales_2013.xlsx data/output/9_output.xlsx import sys from datetime import date from xlrd import open_workbook, xldate_as_tuple from xlwt import Workbook input_file = sys.argv[1] output_file = sys.argv[2] output_workbook = Workbook() output_worksheet = output_workbook.add_sheet('filtered_rows_all_worksheets') # 销售额列索引 sales_column_index = 3 # 销售额阈值 threshold = 2000.0 # 第一个工作表Flg first_worksheet = True with open_workbook(input_file) as workbook: # 汇总数据列表 data = [] for worksheet in workbook.sheets(): # 只在第一个sheet中处理标题行 if first_worksheet: header_row = worksheet.row_values(0) data.append(header_row) first_worksheet = False # 处理标题行以外的数据行 for row_index in range(1, worksheet.nrows): # 循环列数据列表 row_list = [] sale_amount = worksheet.cell_value(row_index, sales_column_index) # 筛选销售额处理 if sale_amount > threshold: for column_index in range(worksheet.ncols): cell_value = worksheet.cell_value(row_index, column_index) cell_type = worksheet.cell_type(row_index, column_index) # 处理日期列 if cell_type == 3: date_cell = xldate_as_tuple(cell_value, workbook.datemode) date_cell = date(*date_cell[0:3]).strftime('%m/%d/%Y') row_list.append(date_cell) else: row_list.append(cell_value) if row_list: data.append(row_list) # 将所有符合条件的数据写入新的excel中 for list_index, output_list in enumerate(data): for element_index, element in enumerate(output_list): output_worksheet.write(list_index, element_index, element) output_workbook.save(output_file)
[ "lingchen1316@163.com" ]
lingchen1316@163.com
0ae37e08b49dbb5ec61f87dbc760c445e4bbb07d
a25f1d11a8708500969ff3143f754064f8eb6be7
/check_bad_image.py
bcaa7a45bc52d426aa053d41c1884480808dd8c2
[]
no_license
yuanxu00/Image-recognition-trash-can
ad5cb6ea1153251578663b43a20163d3fa296252
0f34503742c81fa65f7acf9cdca54d16e15a220c
refs/heads/master
2023-02-25T11:06:16.246376
2023-02-05T09:36:14
2023-02-05T09:36:14
282,860,547
2
0
null
null
null
null
UTF-8
Python
false
false
531
py
import os import pathlib # 训练中如果提示图片错误 # 可以根据对应的错误信息 # 来删除这类型图片 data_root_orig = '/home/y/Documents/training_dataset' data_root = pathlib.Path(data_root_orig) all_image_paths = list(data_root.glob('*/*')) for i, filename in enumerate(all_image_paths): with open(filename, 'rb') as imageFile: # GIF就是提示的错误信息 if imageFile.read().startswith(b'GIF'): print(f"{i}: {filename} - found!") os.remove(filename)
[ "noreply@github.com" ]
yuanxu00.noreply@github.com
b1d984b15f982e44d055f510011022f1c06cf73e
95320bcf08544549feab6078321e3373a4691f15
/project/data-analysis/word_cloud.py
261c398bde0a9a1d73333e5baac0ca6dfb8aeef3
[]
no_license
Yaselley/Big-Data-in-Media-Tech-
369c4ab2a68cd9f62bc6ed9ec3cbe31d5dedc73d
ee13aa262aee621e76a5e691acbe6ebe1fba5bd2
refs/heads/master
2023-08-14T18:22:23.630149
2021-10-08T17:27:10
2021-10-08T17:27:10
406,695,308
0
0
null
null
null
null
UTF-8
Python
false
false
2,180
py
# -*- coding: utf-8 -*- """ Created on Fri Oct 8 17:01:36 2021 @author: Yasel """ #%% ## Data Distribution train_df = pd.read_csv("/content/drive/MyDrive/alldatatest.csv") test_df = pd.read_csv("/content/drive/MyDrive/alldatatest.csv") import matplotlib.patches as mpatches fig, ax= plt.subplots(figsize =(5,5)) ax = sns.countplot(x='label', data=train_df, palette=['#DC143C',"#32CD32"]); for p in ax.patches: ax.annotate(p.get_height(), (p.get_x(), p.get_height())) patch1 = mpatches.Patch(color='#DC143C', label='Negative') patch2 = mpatches.Patch(color="#32CD32", label='Positive') plt.legend(handles=[patch1, patch2], bbox_to_anchor=(1.05, 1), loc=2, borderaxespad=0.) plt.title("Distribution of the labels") plt.show() #%% #%% from wordcloud import WordCloud, STOPWORDS , ImageColorGenerator original_column = 'review_punct' ##### COLUMN TO BE PREPROCESSED ("text" or "selected_text") !!!! #### train_dfS = train_df[:10000] # Start with one review: df_positive = train_dfS[train_dfS['label']==1] df_negative = train_dfS[train_dfS['label']==0] tweet_all = " ".join(review for review in train_dfS[original_column]) tweet_positive = " ".join(review for review in df_positive[original_column]) tweet_negative = " ".join(review for review in df_negative[original_column]) fig, ax = plt.subplots(3, 1, figsize = (30,30)) # Create and generate a word cloud image: wordcloud_aLL = WordCloud(max_font_size=50, max_words=100, background_color="white").generate(tweet_all) wordcloud_positive = WordCloud(max_font_size=50, max_words=100, background_color="white").generate(tweet_positive) wordcloud_negative = WordCloud(max_font_size=50, max_words=100, background_color="white").generate(tweet_negative) # Display the generated image: ax[0].imshow(wordcloud_aLL, interpolation='bilinear') ax[0].set_title('All Tweets', fontsize=30, pad=25) ax[0].axis('off') ax[1].imshow(wordcloud_positive, interpolation='bilinear') ax[1].set_title('Tweets under positive Class',fontsize=30, pad=25) ax[1].axis('off') ax[2].imshow(wordcloud_negative, interpolation='bilinear') ax[2].set_title('Tweets under negative Class',fontsize=30, pad=25) ax[2].axis('off') plt.show()
[ "elkheiryassine@gmail.com" ]
elkheiryassine@gmail.com
0a57ee4fa53f3802a437e6b7e886354daf7fd5df
4e374346bc14aea2a25ee9cba067b103d5dad850
/app.py
2fdc33499e626060958a39dc38968d2a5e292d42
[]
no_license
nair-sandeep/car-prediction
b4d9e67ce2f376df3614cdac9ab8394b4fa1c1de
a67f9512f3519d2c40c1ebcf9da801ba02fd45bf
refs/heads/main
2023-05-13T05:33:42.896228
2021-06-02T21:22:42
2021-06-02T21:22:42
373,287,213
0
0
null
null
null
null
UTF-8
Python
false
false
2,100
py
from flask import Flask, render_template, request import jsonify import requests import pickle import numpy as np import sklearn from sklearn.preprocessing import StandardScaler app = Flask(__name__) model = pickle.load(open('random_forest_regression_model.pkl', 'rb')) @app.route('/',methods=['GET']) def Home(): return render_template('index.html') standard_to = StandardScaler() @app.route("/predict", methods=['POST']) def predict(): Fuel_Type_Diesel=0 if request.method == 'POST': Year = int(request.form['Year']) Present_Price=float(request.form['Present_Price']) Kms_Driven=int(request.form['Kms_Driven']) Kms_Driven2=np.log(Kms_Driven) Owner=int(request.form['Owner']) Fuel_Type_Petrol=request.form['Fuel_Type_Petrol'] if(Fuel_Type_Petrol=='Petrol'): Fuel_Type_Petrol=1 Fuel_Type_Diesel=0 elif(Fuel_Type_Petrol=='Diesel'): Fuel_Type_Petrol=0 Fuel_Type_Diesel=1 else: Fuel_Type_Petrol=0 Fuel_Type_Diesel=0 Year=2021-Year Seller_Type_Individual=request.form['Seller_Type_Individual'] if(Seller_Type_Individual=='Individual'): Seller_Type_Individual=1 else: Seller_Type_Individual=0 Transmission_Mannual=request.form['Transmission_Mannual'] if(Transmission_Mannual=='Mannual'): Transmission_Mannual=1 else: Transmission_Mannual=0 prediction=model.predict([[Present_Price,Kms_Driven2,Owner,Year,Fuel_Type_Diesel,Fuel_Type_Petrol,Seller_Type_Individual,Transmission_Mannual]]) output=round(prediction[0],2) if output<0: return render_template('index.html',prediction_texts="Sorry you cannot sell this car") else: return render_template('index.html',prediction_text="You Can Sell The Car at RS {} lakhs".format(output)) else: return render_template('index.html') if __name__=="__main__": app.run(debug=True)
[ "noreply@github.com" ]
nair-sandeep.noreply@github.com
7148949c11b68312b1809b9f43187db20af400f8
e3acf3596d6353ceb2f7b0aa5116aa7463fe18a9
/predict.py
c15a6dae50325d10e6d52a1e25fe251bb117f863
[]
no_license
snooty7/BrawlStars
d2e4e0bfd8dd4004f6a46bf51e6cec70e23c1cf0
7649fd8ee8995819348f8f9fc72ca2e7e78bd8a8
refs/heads/master
2022-12-14T06:22:49.287723
2020-11-22T10:27:06
2020-11-22T10:27:06
233,918,789
36
9
null
2022-12-08T03:59:06
2020-01-14T19:27:26
Jupyter Notebook
UTF-8
Python
false
false
2,669
py
# organize imports from __future__ import print_function # keras imports from keras.applications.vgg16 import VGG16, preprocess_input from keras.applications.vgg19 import VGG19, preprocess_input from keras.applications.xception import Xception, preprocess_input from keras.applications.resnet50 import ResNet50, preprocess_input from keras.applications.inception_resnet_v2 import InceptionResNetV2, preprocess_input from keras.applications.mobilenet import MobileNet, preprocess_input from keras.applications.inception_v3 import InceptionV3, preprocess_input from keras.preprocessing import image from keras.models import Model from keras.models import model_from_json from keras.layers import Input # other imports from sklearn.linear_model import LogisticRegression import numpy as np import os import json import pickle import cv2 # load the user configs with open('conf.json') as f: config = json.load(f) # config variables model_name = config["model"] weights = config["weights"] include_top = config["include_top"] train_path = config["train_path"] test_path = config["test_path"] features_path = config["features_path"] labels_path = config["labels_path"] test_size = config["test_size"] results = config["results"] model_path = config["model_path"] seed = config["seed"] classifier_path = config["classifier_path"] # load the trained logistic regression classifier print ("[INFO] loading the classifier...") classifier = pickle.load(open(classifier_path, 'rb')) if model_name == "inceptionv3": base_model = InceptionV3(include_top=include_top, weights=weights, input_tensor=Input(shape=(299,299,3))) model = Model(input=base_model.input, output=base_model.layers[-1].output) image_size = (299, 299) else: base_model = None # get all the train labels train_labels = os.listdir(train_path) # get all the test images paths test_images = os.listdir(test_path) # loop through each image in the test data for image_path in test_images: path = test_path + '\\' + image_path img = image.load_img(path, target_size=image_size) x = image.img_to_array(img) x = np.expand_dims(x, axis=0) x = preprocess_input(x) feature = model.predict(x) flat = feature.flatten() flat = np.expand_dims(flat, axis=0) preds = classifier.predict(flat) prediction = train_labels[preds[0]] # perform prediction on test image print ("Move " + train_labels[preds[0]]) img_color = cv2.imread(path, 1) cv2.putText(img_color, "Move to " + prediction, (140,445), cv2.FONT_HERSHEY_SIMPLEX, 1, (0,0,255), 2) cv2.imshow("test", img_color) # key tracker key = cv2.waitKey(0) & 0xFF if (key == ord('q')): cv2.destroyAllWindows()
[ "trankov86@gmail.com" ]
trankov86@gmail.com
18bd9b89023a9b4927e48c5fff9e64ff31b25ac7
635dc4a709077c727f1af4d5b7f66388eb7975e0
/pthw/ex4.py
d68f9d75b9e8df3412ea5aca2a6c33fe87e886be
[]
no_license
kderoulet/python-the-hard-way
038b2b4f77840c1e66c4ba03f96d250d3aeb3bbb
20afb8593b65a3c9e1a3502a168f5ed64c0b58e1
refs/heads/master
2021-05-08T15:57:02.312374
2018-03-24T23:58:54
2018-03-24T23:58:54
120,134,091
0
0
null
null
null
null
UTF-8
Python
false
false
565
py
cars = 100; space_in_a_car = 4.0 drivers = 30 passengers = 90 cars_not_driven = cars - drivers cars_driven = drivers carpool_capacity = cars_driven * space_in_a_car average_passengers_per_car = passengers / cars_driven print("There are", cars, "cars avaulable.") print("There are only", drivers, "drivers available.") print("There will be", cars_not_driven, "empty cars today.") print("We can transport", carpool_capacity, "people today.") print("We have", passengers, "to carpool today.") print("We need to put about", average_passengers_per_car, "in each car.")
[ "kderoulet@yahoo.com" ]
kderoulet@yahoo.com
6fd52bbf8aaeb9032626a2bd26d085a7bc715a88
2c3e7aacef68de0105af89fc2dae3db9a03dd871
/classes/platzi_module.py
d1af2402906eb5d2f989608211b0c98a739e88fd
[ "MIT" ]
permissive
memowii/platzi_readme
7cf81b95d3d89a3d3d91262fa8efb39579b9bdbf
a56fc73e4dc0964e17550a6683e82fd6c6604299
refs/heads/master
2020-06-08T17:08:54.921120
2019-06-27T16:43:10
2019-06-27T16:43:10
193,269,734
0
0
null
null
null
null
UTF-8
Python
false
false
351
py
from .platzi_lesson import PlatziLesson class PlatziModule: def __init__(self, soup_module): self.module = soup_module def get_title(self): return self.module.header.div.h3.text def get_lessons(self): lessons = self.module.section.contents return list(map(lambda lesson: PlatziLesson(lesson), lessons))
[ "memogl25@gmail.com" ]
memogl25@gmail.com
b4e8c6cb0792e24ed9f5af9691b4122d19f58c30
923a14dd594191d77e30465027ece8371f28a7a6
/web-serpng/code/serpng/resume/jbb_models.py
7959db7ad4c4f889f70568473d152808c93a3e96
[]
no_license
alyago/django-web
3af7b3389df59104eaf5e50ed9cc2c3e730fed7f
da3073eec6d676dfe0164502b80d2a1c75e89575
refs/heads/master
2021-01-10T19:33:45.425520
2013-11-21T09:43:37
2013-11-21T09:43:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
38,038
py
# This is an auto-generated Django model module. # You'll have to do the following manually to clean this up: # * Rearrange models' order # * Make sure each model has one field with primary_key=True # Feel free to rename the models, but don't rename db_table values or field names. # # Also note: You'll have to insert the output of 'django-admin.py sqlcustom [appname]' # into your database. # TODO: Add primary_key for the rest of the models. import django.db.models.options as options from django.db import models options.DEFAULT_NAMES = options.DEFAULT_NAMES + ('in_db',) class Accounts(models.Model): accountid = models.IntegerField(primary_key=True, db_column='accountId') # Field name made lowercase. type = models.IntegerField() created = models.DateTimeField() class Meta: db_table = u'accounts' in_db = 'jbb' class OrgAccounts(models.Model): orgactid = models.IntegerField(primary_key=True, db_column='orgactId') # Field name made lowercase. orgid = models.ForeignKey('Organizations', db_column='orgId') # Field name made lowercase. accountid = models.ForeignKey(Accounts, db_column='accountId') # Field name made lowercase. orderno = models.IntegerField() updated = models.DateTimeField() class Meta: db_table = u'org_accounts' in_db = 'jbb' class OrgDomains(models.Model): domainid = models.IntegerField(primary_key=True, db_column='domainId') # Field name made lowercase. orgid = models.ForeignKey(Accounts, db_column='orgId') # Field name made lowercase. domain_type = models.IntegerField() domain_name = models.CharField(max_length=384) updatedid = models.ForeignKey(OrgAccounts, db_column='updatedId') # Field name made lowercase. updated = models.DateTimeField() class Meta: db_table = u'org_domains' in_db = 'jbb' class Organizations(models.Model): orgid = models.ForeignKey(Accounts, primary_key=True, db_column='orgId') # Field name made lowercase. orgname = models.CharField(max_length=144, db_column='orgName') # Field name made lowercase. default_domainid = models.ForeignKey(OrgDomains, null=True, db_column='default_domainId', blank=True) # Field name made lowercase. default_hostid = models.ForeignKey(OrgDomains, null=True, db_column='default_hostId', blank=True) # Field name made lowercase. updatedid = models.ForeignKey(OrgAccounts, db_column='updatedId') # Field name made lowercase. updated = models.DateTimeField() main_site_url = models.CharField(max_length=384, blank=True) class Meta: db_table = u'organizations' in_db = 'jbb' class Jobs(models.Model): jobid = models.IntegerField(primary_key=True, db_column='jobId') # Field name made lowercase. cat_orgid = models.ForeignKey(Organizations, null=True, db_column='cat_orgId', blank=True) # Field name made lowercase. cat_type = models.IntegerField() cat_loc_country = models.CharField(max_length=6) cat_loc_state = models.IntegerField() cat_loc_county = models.IntegerField() cat_loc_city = models.IntegerField() cat_occ_top = models.IntegerField() cat_occ_sub = models.CharField(max_length=21) cat_industry = models.CharField(max_length=18) job_title = models.CharField(max_length=192) job_company = models.CharField(max_length=144) job_company_url = models.CharField(max_length=384) job_street = models.CharField(max_length=192) job_intl_location = models.CharField(max_length=384) job_zip = models.CharField(max_length=48) job_salary = models.CharField(max_length=72) job_apply_email = models.CharField(max_length=384) job_apply_web = models.TextField() job_description = models.TextField() updatedid = models.ForeignKey(OrgAccounts, db_column='updatedId') # Field name made lowercase. updated = models.DateTimeField() job_url = models.CharField(max_length=384) class Meta: db_table = u'jobs' in_db = 'jbb' class Packages(models.Model): packageid = models.IntegerField(primary_key=True, db_column='packageId') # Field name made lowercase. orgid = models.ForeignKey(Organizations, db_column='orgId') # Field name made lowercase. type = models.IntegerField() currency_code = models.CharField(max_length=9) price = models.DecimalField(max_digits=17, decimal_places=5) name = models.CharField(max_length=192) description = models.CharField(max_length=765) createdid = models.ForeignKey(OrgAccounts, db_column='createdId') # Field name made lowercase. created = models.DateTimeField() created_by = models.CharField(max_length=192) code = models.CharField(max_length=192) expiration_date = models.DateTimeField() reach_type = models.CharField(max_length=765) discount_type = models.CharField(max_length=192) post_limit = models.IntegerField() class Meta: db_table = u'packages' in_db = 'jbb' class Invoices(models.Model): invoiceid = models.IntegerField(primary_key=True, db_column='invoiceId') # Field name made lowercase. accountid = models.ForeignKey(Accounts, db_column='accountId') # Field name made lowercase. account_proxy_id = models.IntegerField() packageid = models.ForeignKey(Packages, db_column='packageId') # Field name made lowercase. pkg_jobpost_id = models.IntegerField() payment_method = models.IntegerField() payment_code = models.CharField(max_length=9) payment_amount = models.DecimalField(max_digits=17, decimal_places=5) payment_usdrate = models.DecimalField(max_digits=12, decimal_places=4) startedid = models.ForeignKey(OrgAccounts, db_column='startedId') # Field name made lowercase. started = models.DateTimeField() class Meta: db_table = u'invoices' in_db = 'jbb' class AccountContacts(models.Model): contactid = models.IntegerField(primary_key=True, db_column='contactId') # Field name made lowercase. ownerid = models.ForeignKey(Accounts, db_column='ownerId') # Field name made lowercase. companyname = models.CharField(max_length=144, db_column='companyName') # Field name made lowercase. companytitle = models.CharField(max_length=144, db_column='companyTitle') # Field name made lowercase. firstname = models.CharField(max_length=144, db_column='firstName') # Field name made lowercase. lastname = models.CharField(max_length=144, db_column='lastName') # Field name made lowercase. description = models.CharField(max_length=765) email = models.CharField(max_length=384) phone = models.CharField(max_length=72) locationname = models.CharField(max_length=144, db_column='locationName') # Field name made lowercase. street = models.CharField(max_length=192) city = models.CharField(max_length=192) state = models.CharField(max_length=192) zip = models.CharField(max_length=48) country = models.CharField(max_length=192) updatedid = models.ForeignKey(OrgAccounts, db_column='updatedId') # Field name made lowercase. updated = models.DateTimeField() class Meta: db_table = u'account_contacts' in_db = 'jbb' class AccountFiles(models.Model): fileid = models.IntegerField(primary_key=True, db_column='fileId') # Field name made lowercase. ownerid = models.IntegerField(db_column='ownerId') # Field name made lowercase. status = models.IntegerField() size = models.IntegerField() name = models.CharField(max_length=384) type = models.CharField(max_length=192) data = models.TextField(blank=True) uploaded = models.DateTimeField() class Meta: db_table = u'account_files' in_db = 'jbb' class AccountStatus(models.Model): accountid = models.ForeignKey(Accounts, db_column='accountId') # Field name made lowercase. status = models.IntegerField() updatedid = models.ForeignKey(OrgAccounts, db_column='updatedId') # Field name made lowercase. updated = models.DateTimeField() class Meta: db_table = u'account_status' in_db = 'jbb' class CatLocationsEnUs(models.Model): country_code = models.CharField(unique=True, max_length=6) state_code = models.IntegerField(unique=True) county_code = models.IntegerField(unique=True) city_code = models.IntegerField(unique=True) country_name = models.CharField(max_length=192) country_abbr = models.CharField(max_length=48) state_name = models.CharField(max_length=192) state_abbr = models.CharField(max_length=6) county_name = models.CharField(max_length=192) city_name = models.CharField(max_length=192) class Meta: db_table = u'cat_locations_en_us' in_db = 'jbb' class CatOccupationsEnUs(models.Model): occupationid = models.IntegerField(primary_key=True, db_column='occupationId') # Field name made lowercase. name = models.CharField(unique=True, max_length=192) abbr = models.CharField(max_length=48) description = models.CharField(max_length=765) class Meta: db_table = u'cat_occupations_en_us' in_db = 'jbb' class CatRegionsEnUs(models.Model): regionid = models.IntegerField(primary_key=True, db_column='regionId') # Field name made lowercase. name = models.CharField(max_length=192) abbr = models.CharField(max_length=48) description = models.CharField(max_length=765) class Meta: db_table = u'cat_regions_en_us' in_db = 'jbb' class CatRegionsGeocoded(models.Model): region_id = models.IntegerField() state = models.CharField(max_length=192, blank=True) min_latitude = models.DecimalField(max_digits=13, decimal_places=6) max_latitude = models.DecimalField(max_digits=13, decimal_places=6) min_longitude = models.DecimalField(max_digits=13, decimal_places=6) max_longitude = models.DecimalField(max_digits=13, decimal_places=6) class Meta: db_table = u'cat_regions_geocoded' in_db = 'jbb' class CatRegionsGeocodedCities(models.Model): region_id = models.IntegerField() city = models.CharField(max_length=192, blank=True) state = models.CharField(max_length=192, blank=True) class Meta: db_table = u'cat_regions_geocoded_cities' in_db = 'jbb' class CatRegionsHierarchy(models.Model): regionid = models.ForeignKey(CatRegionsEnUs, db_column='regionId') # Field name made lowercase. parentid = models.ForeignKey(CatRegionsEnUs, null=True, db_column='parentId', blank=True) # Field name made lowercase. lft = models.IntegerField() rgt = models.IntegerField() class Meta: db_table = u'cat_regions_hierarchy' in_db = 'jbb' class Feedburner(models.Model): orgid = models.IntegerField(primary_key=True, db_column='orgId') # Field name made lowercase. feedid = models.IntegerField(null=True, db_column='feedId', blank=True) # Field name made lowercase. feeduri = models.CharField(max_length=765, db_column='feedUri', blank=True) # Field name made lowercase. feedtitle = models.CharField(max_length=765, db_column='feedTitle', blank=True) # Field name made lowercase. feedurl = models.CharField(max_length=765, db_column='feedUrl', blank=True) # Field name made lowercase. feedburnerurl = models.CharField(max_length=765, db_column='feedburnerUrl', blank=True) # Field name made lowercase. updated = models.DateTimeField(null=True, blank=True) class Meta: db_table = u'feedburner' in_db = 'jbb' class FipsCountriesEnUs(models.Model): code = models.CharField(max_length=6, primary_key=True) short_display = models.CharField(max_length=384) long_display = models.CharField(max_length=384) class Meta: db_table = u'fips_countries_en_us' in_db = 'jbb' class InvoiceReceiptsSecure(models.Model): invoiceid = models.IntegerField(primary_key=True, db_column='invoiceId') # Field name made lowercase. jobpostid = models.IntegerField(db_column='jobpostId') # Field name made lowercase. job_post_date = models.DateTimeField() job_title = models.CharField(max_length=192) job_company = models.CharField(max_length=144) job_location = models.CharField(max_length=765) post_enddate = models.DateTimeField() token = models.CharField(max_length=60) job_board_id = models.IntegerField() job_board_name = models.CharField(max_length=765) transaction_id = models.CharField(max_length=384) poster_org_id = models.IntegerField() poster_first_name = models.CharField(max_length=765) poster_last_name = models.CharField(max_length=765) poster_email = models.CharField(max_length=384) poster_phone = models.CharField(max_length=72) billing_first_name = models.CharField(max_length=765) billing_last_name = models.CharField(max_length=765) billing_address1 = models.CharField(max_length=765) billing_address2 = models.CharField(max_length=765) billing_city = models.CharField(max_length=765) billing_state = models.CharField(max_length=765) billing_zip = models.CharField(max_length=765) billing_phone = models.CharField(max_length=765) billing_card_type = models.CharField(max_length=60, blank=True) billing_card_last_4_digits = models.CharField(max_length=12, blank=True) transaction_type = models.IntegerField() original_post_price = models.DecimalField(null=True, max_digits=17, decimal_places=5, blank=True) discount_id = models.IntegerField(null=True, blank=True) discount_name = models.CharField(max_length=192, blank=True) discount_code = models.CharField(max_length=192, blank=True) discount_amount = models.DecimalField(null=True, max_digits=17, decimal_places=5, blank=True) package_id = models.IntegerField(null=True, blank=True) package_name = models.CharField(max_length=192, blank=True) package_code = models.CharField(max_length=192, blank=True) package_price = models.DecimalField(null=True, max_digits=17, decimal_places=5, blank=True) package_job_number = models.IntegerField(null=True, blank=True) package_job_total = models.IntegerField(null=True, blank=True) final_price = models.DecimalField(null=True, max_digits=17, decimal_places=5, blank=True) currency_code = models.CharField(max_length=9) payment_test_mode = models.IntegerField() receipt_recipient_email = models.CharField(max_length=384, blank=True) class Meta: db_table = u'invoice_receipts_secure' in_db = 'jbb' class InvoiceState(models.Model): invoiceid = models.ForeignKey(Invoices, db_column='invoiceId') # Field name made lowercase. state = models.IntegerField() updatedid = models.ForeignKey(OrgAccounts, db_column='updatedId') # Field name made lowercase. updated = models.DateTimeField() class Meta: db_table = u'invoice_state' in_db = 'jbb' class JbbUserSmbAccount(models.Model): jbbusersmbaccount_id = models.IntegerField(primary_key=True) user_email = models.CharField(max_length=762) has_smb_account = models.IntegerField(null=True, blank=True) has_smb_career_site = models.IntegerField(null=True, blank=True) created = models.DateTimeField() updated = models.DateTimeField() class Meta: db_table = u'jbb_user_smb_account' in_db = 'jbb' class JobAcls(models.Model): token = models.CharField(max_length=60, primary_key=True) accountid = models.ForeignKey(Accounts, db_column='accountId') # Field name made lowercase. jobid = models.ForeignKey(Jobs, db_column='jobId') # Field name made lowercase. access = models.IntegerField() modifiedid = models.ForeignKey(OrgAccounts, db_column='modifiedId') # Field name made lowercase. modified = models.DateTimeField() class Meta: db_table = u'job_acls' in_db = 'jbb' class PkgJobposts(models.Model): pkg_jobpost_id = models.IntegerField(primary_key=True) packageid = models.ForeignKey(Packages, db_column='packageId') # Field name made lowercase. post_price = models.DecimalField(max_digits=17, decimal_places=5) post_currency_code = models.CharField(max_length=9) post_quantity = models.IntegerField() post_duration = models.IntegerField() post_siteid = models.ForeignKey(Organizations, db_column='post_siteId') # Field name made lowercase. post_network = models.IntegerField() class Meta: db_table = u'pkg_jobposts' in_db = 'jbb' class JobPosts(models.Model): jobpostid = models.IntegerField(primary_key=True, db_column='jobpostId') # Field name made lowercase. orgid = models.ForeignKey(Organizations, db_column='orgId') # Field name made lowercase. jobid = models.ForeignKey(Jobs, db_column='jobId') # Field name made lowercase. packageid = models.ForeignKey(PkgJobposts, db_column='packageId') # Field name made lowercase. contactid = models.ForeignKey(AccountContacts, null=True, db_column='contactId', blank=True) # Field name made lowercase. post_siteid = models.ForeignKey(Organizations, null=True, db_column='post_siteId', blank=True) # Field name made lowercase. post_network = models.IntegerField() post_state = models.IntegerField() post_enddate = models.DateTimeField() custom_catlocid = models.ForeignKey(CatRegionsEnUs, null=True, db_column='custom_catlocId', blank=True) # Field name made lowercase. custom_catoccid = models.ForeignKey(CatOccupationsEnUs, null=True, db_column='custom_catoccId', blank=True) # Field name made lowercase. revisedid = models.ForeignKey(OrgAccounts, db_column='revisedId') # Field name made lowercase. revised = models.DateTimeField() createdid = models.ForeignKey(OrgAccounts, db_column='createdId') # Field name made lowercase. created = models.DateTimeField() class Meta: db_table = u'job_posts' in_db = 'jbb' class JobApplicants(models.Model): jobactid = models.IntegerField(primary_key=True, db_column='jobactId') # Field name made lowercase. jobpostid = models.ForeignKey(JobPosts, db_column='jobpostId') # Field name made lowercase. accountid = models.ForeignKey(Accounts, db_column='accountId') # Field name made lowercase. app_name = models.CharField(max_length=192) app_subject = models.CharField(max_length=192) app_coverletter = models.TextField() app_resumeid = models.IntegerField(null=True, db_column='app_resumeId', blank=True) # Field name made lowercase. app_date = models.DateTimeField() class Meta: db_table = u'job_applicants' in_db = 'jbb' class JobLogo(models.Model): jobid = models.IntegerField(primary_key=True, db_column='jobId') # Field name made lowercase. logo_fileid = models.IntegerField(null=True, db_column='logo_fileId', blank=True) # Field name made lowercase. logo_aspect = models.IntegerField(null=True, blank=True) class Meta: db_table = u'job_logo' in_db = 'jbb' class JobPostApproval(models.Model): jobpostid = models.ForeignKey(JobPosts, db_column='jobpostId') # Field name made lowercase. approval = models.IntegerField(primary_key=True) reason = models.CharField(max_length=765) approvedid = models.ForeignKey(OrgAccounts, db_column='approvedId') # Field name made lowercase. approved = models.DateTimeField() class Meta: db_table = u'job_post_approval' in_db = 'jbb' class JobPostMetrics(models.Model): jobpostid = models.ForeignKey(JobPosts, db_column='jobpostId') # Field name made lowercase. count_view = models.IntegerField() count_apply_email = models.IntegerField() count_apply_web = models.IntegerField() adjusted = models.DateTimeField() class Meta: db_table = u'job_post_metrics' in_db = 'jbb' class Network(models.Model): orgid = models.ForeignKey(Organizations, db_column='orgId') # Field name made lowercase. parentid = models.ForeignKey(Organizations, null=True, db_column='parentId', blank=True) # Field name made lowercase. lft = models.IntegerField() rgt = models.IntegerField() class Meta: db_table = u'network' in_db = 'jbb' class OrgAccountInfo(models.Model): orgactid = models.ForeignKey(OrgAccounts, db_column='orgactId') # Field name made lowercase. active = models.IntegerField() contactid = models.ForeignKey(AccountContacts, null=True, db_column='contactId', blank=True) # Field name made lowercase. updatedid = models.ForeignKey(OrgAccounts, db_column='updatedId') # Field name made lowercase. updated = models.DateTimeField() class Meta: db_table = u'org_account_info' in_db = 'jbb' class OrgAccountRoles(models.Model): orgactid = models.ForeignKey(OrgAccounts, db_column='orgactId') # Field name made lowercase. role = models.IntegerField(unique=True) valid = models.IntegerField() updatedid = models.ForeignKey(OrgAccounts, db_column='updatedId') # Field name made lowercase. updated = models.DateTimeField() class Meta: db_table = u'org_account_roles' in_db = 'jbb' class OrgBalanceSecure(models.Model): orgbalancesecure_id = models.IntegerField(primary_key=True) timestamp = models.DateTimeField() class Meta: db_table = u'org_balance_secure' in_db = 'jbb' class OrgBalanceDetailsSecure(models.Model): org_balance = models.ForeignKey(OrgBalanceSecure) orgid = models.ForeignKey(Organizations, db_column='orgId') # Field name made lowercase. org_name = models.CharField(max_length=765) org_domain = models.CharField(max_length=384) post_balance = models.DecimalField(max_digits=17, decimal_places=5) ad_balance = models.DecimalField(max_digits=17, decimal_places=5) currency_code = models.CharField(max_length=30) last_post_payout = models.DateTimeField() last_ad_payout = models.DateTimeField() last_payment_date = models.DateTimeField() class Meta: db_table = u'org_balance_details_secure' in_db = 'jbb' class OrgBranding(models.Model): orgid = models.ForeignKey(Organizations, db_column='orgId') # Field name made lowercase. logo_fileid = models.IntegerField(null=True, db_column='logo_fileId', blank=True) # Field name made lowercase. theme = models.IntegerField() theme_attributes = models.TextField() custom_header = models.TextField() custom_footer = models.TextField() custom_page_properties = models.TextField() updatedid = models.ForeignKey(OrgAccounts, db_column='updatedId') # Field name made lowercase. updated = models.DateTimeField() class Meta: db_table = u'org_branding' in_db = 'jbb' class OrgBrandingLinks(models.Model): linkid = models.IntegerField(primary_key=True, db_column='linkId') # Field name made lowercase. orgid = models.ForeignKey(Organizations, db_column='orgId') # Field name made lowercase. type = models.IntegerField() link_order = models.IntegerField() link_text = models.CharField(max_length=192) link_url = models.CharField(max_length=384) class Meta: db_table = u'org_branding_links' in_db = 'jbb' class OrgCatIndustries(models.Model): orgindid = models.IntegerField(primary_key=True, db_column='orgindId') # Field name made lowercase. orgid = models.ForeignKey(Organizations, db_column='orgId') # Field name made lowercase. industry_code = models.CharField(max_length=18) class Meta: db_table = u'org_cat_industries' in_db = 'jbb' class OrgCatIndustriesEnUs(models.Model): orgindid = models.ForeignKey(OrgCatIndustries, db_column='orgindId') # Field name made lowercase. name = models.CharField(max_length=765, blank=True) class Meta: db_table = u'org_cat_industries_en_us' in_db = 'jbb' class OrgCatJobtypes(models.Model): orgid = models.ForeignKey(Organizations, db_column='orgId') # Field name made lowercase. type_mask = models.IntegerField() class Meta: db_table = u'org_cat_jobtypes' in_db = 'jbb' class OrgCatOccupations(models.Model): orgoccid = models.IntegerField(primary_key=True, db_column='orgoccId') # Field name made lowercase. orgid = models.ForeignKey(Organizations, db_column='orgId') # Field name made lowercase. occupationid = models.ForeignKey(CatOccupationsEnUs, db_column='occupationId') # Field name made lowercase. top_code = models.IntegerField() sub_code = models.CharField(max_length=21) class Meta: db_table = u'org_cat_occupations' in_db = 'jbb' class OrgCatRegions(models.Model): orgregid = models.IntegerField(primary_key=True, db_column='orgregId') # Field name made lowercase. orgid = models.ForeignKey(Organizations, db_column='orgId') # Field name made lowercase. regionid = models.ForeignKey(CatRegionsEnUs, db_column='regionId') # Field name made lowercase. class Meta: db_table = u'org_cat_regions' in_db = 'jbb' class OrgPackages(models.Model): orgpkgid = models.IntegerField(primary_key=True, db_column='orgpkgId') # Field name made lowercase. orgid = models.ForeignKey(Organizations, db_column='orgId') # Field name made lowercase. packageid = models.ForeignKey(Packages, db_column='packageId') # Field name made lowercase. avail_orgid = models.ForeignKey(Organizations, db_column='avail_orgId') # Field name made lowercase. updatedid = models.ForeignKey(OrgAccounts, db_column='updatedId') # Field name made lowercase. updated = models.DateTimeField() class Meta: db_table = u'org_packages' in_db = 'jbb' class OrgPublisherInfo(models.Model): orgid = models.ForeignKey(Organizations, db_column='orgId') # Field name made lowercase. publisher_id = models.IntegerField(null=True, blank=True) preference_listing = models.IntegerField() premium_cap = models.IntegerField() organic_cap = models.IntegerField() overall_cap = models.IntegerField() display_quantity = models.IntegerField() backfill_preference = models.IntegerField() search_location = models.CharField(max_length=765) search_keyword_all = models.CharField(max_length=765) search_keyword_exact = models.CharField(max_length=765) search_keyword_at_least_one = models.CharField(max_length=765) search_keyword_without = models.CharField(max_length=765) search_keyword_within_title = models.CharField(max_length=765) search_keyword_within_company = models.CharField(max_length=765) updatedid = models.ForeignKey(OrgAccounts, db_column='updatedId') # Field name made lowercase. updated = models.DateTimeField() class Meta: db_table = u'org_publisher_info' in_db = 'jbb' class OrgSettings(models.Model): orgid = models.ForeignKey(Organizations, db_column='orgId') # Field name made lowercase. testmode = models.IntegerField(null=True, db_column='testMode', blank=True) # Field name made lowercase. updated = models.DateTimeField() search = models.IntegerField() allow_international_postings = models.IntegerField() allow_post_notifications = models.IntegerField() class Meta: db_table = u'org_settings' in_db = 'jbb' class OrgW9Secure(models.Model): orgw9secure_id = models.IntegerField(primary_key=True) orgid = models.ForeignKey(Organizations, db_column='orgId') # Field name made lowercase. social_security = models.CharField(max_length=765) ein = models.CharField(max_length=765) business_name = models.CharField(max_length=384) business_type = models.IntegerField() business_other_type = models.CharField(max_length=384) withholding_exempt = models.IntegerField() address = models.CharField(max_length=192) city = models.CharField(max_length=192) state = models.CharField(max_length=192) zip = models.CharField(max_length=48) country = models.CharField(max_length=192) backup_withholding = models.IntegerField() signature = models.CharField(max_length=384) timestamp = models.DateTimeField() ip_address = models.CharField(max_length=384) updated_id = models.IntegerField() class Meta: db_table = u'org_w9_secure' in_db = 'jbb' class OrganizationMetrics(models.Model): orgid = models.ForeignKey(Organizations, db_column='orgId') # Field name made lowercase. signup_ip = models.CharField(max_length=765) signup_gr = models.CharField(max_length=765) misc = models.TextField() modified = models.DateTimeField() class Meta: db_table = u'organization_metrics' in_db = 'jbb' class PackageRevshare(models.Model): packageid = models.ForeignKey(Packages, db_column='packageId') # Field name made lowercase. pkg_jobpost_id = models.IntegerField() sh_fixed = models.DecimalField(max_digits=12, decimal_places=4) sh_percentage = models.DecimalField(max_digits=8, decimal_places=4) discount_fixed = models.DecimalField(max_digits=12, decimal_places=4) discount_percentage = models.DecimalField(max_digits=8, decimal_places=4) commission_fixed = models.DecimalField(max_digits=12, decimal_places=4) commission_percentage = models.DecimalField(max_digits=8, decimal_places=4) class Meta: db_table = u'package_revshare' in_db = 'jbb' class PackageStatus(models.Model): packageid = models.ForeignKey(Packages, db_column='packageId') # Field name made lowercase. status = models.IntegerField() updatedid = models.ForeignKey(OrgAccounts, db_column='updatedId') # Field name made lowercase. updated = models.DateTimeField() class Meta: db_table = u'package_status' in_db = 'jbb' class PaymentMethod(models.Model): paymentmethod_id = models.IntegerField(primary_key=True) orgid = models.ForeignKey(Organizations, db_column='orgId') # Field name made lowercase. method = models.IntegerField() method_id = models.IntegerField() updated_id = models.IntegerField() modified = models.DateTimeField() class Meta: db_table = u'payment_method' in_db = 'jbb' class PaymentMethodCheckSecure(models.Model): paymentmethodchecksecure_id = models.IntegerField(primary_key=True) orgid = models.IntegerField(db_column='orgId') # Field name made lowercase. first_name = models.CharField(max_length=765) last_name = models.CharField(max_length=765) address_1 = models.CharField(max_length=765) address_2 = models.CharField(max_length=765) city = models.CharField(max_length=765) state = models.CharField(max_length=6) zip_code = models.CharField(max_length=30) billing_contact_first_name = models.CharField(max_length=765) billing_contact_last_name = models.CharField(max_length=765) billing_contact_email = models.CharField(max_length=765) billing_contact_phone = models.CharField(max_length=765) billing_contact_fax = models.CharField(max_length=765) updated_id = models.IntegerField() modified = models.DateTimeField() class Meta: db_table = u'payment_method_check_secure' in_db = 'jbb' class PaymentMethodPaypalSecure(models.Model): paymentmethodpaypalsecure_id = models.IntegerField(primary_key=True) orgid = models.IntegerField(db_column='orgId') # Field name made lowercase. account = models.CharField(max_length=765) updated_id = models.IntegerField() modified = models.DateTimeField() class Meta: db_table = u'payment_method_paypal_secure' in_db = 'jbb' class PayoutHistorySecure(models.Model): payouthistorysecure_id = models.IntegerField(primary_key=True) orgid = models.IntegerField(db_column='orgId') # Field name made lowercase. revenue = models.DecimalField(max_digits=17, decimal_places=5) amount = models.DecimalField(max_digits=17, decimal_places=5) job_post_amount = models.DecimalField(max_digits=17, decimal_places=5) currency_code = models.CharField(max_length=30) method = models.IntegerField() method_id = models.IntegerField() ad_server_id = models.IntegerField() ad_server_amount = models.DecimalField(max_digits=17, decimal_places=5) start_date_time = models.DateTimeField() end_date_time = models.DateTimeField() ad_server_start_date_time = models.DateTimeField() ad_server_end_date_time = models.DateTimeField() issue_date_time = models.DateTimeField() transaction_data = models.CharField(max_length=765) status = models.IntegerField() create_timestamp = models.DateTimeField() modified = models.DateTimeField() class Meta: db_table = u'payout_history_secure' in_db = 'jbb' class PayoutSummarySaveSecure(models.Model): orgid = models.IntegerField(db_column='orgId') # Field name made lowercase. payout_history_id = models.IntegerField() org_name = models.CharField(max_length=765) domain_name = models.CharField(max_length=765) total_earning = models.DecimalField(max_digits=17, decimal_places=5) revenue = models.DecimalField(max_digits=17, decimal_places=5) earning = models.DecimalField(max_digits=17, decimal_places=5) ad_server_earning = models.DecimalField(max_digits=17, decimal_places=5) currency_code = models.CharField(max_length=15) payout_start_date = models.DateTimeField() payout_end_date = models.DateTimeField() ad_server_start_date = models.DateTimeField() ad_server_end_date = models.DateTimeField() has_w9 = models.IntegerField() status = models.IntegerField() modified = models.DateTimeField() class Meta: db_table = u'payout_summary_save_secure' in_db = 'jbb' class PayoutSummarySecure(models.Model): orgid = models.IntegerField(primary_key=True, db_column='orgId') # Field name made lowercase. payout_history_id = models.IntegerField() org_name = models.CharField(max_length=765) domain_name = models.CharField(max_length=765) total_earning = models.DecimalField(max_digits=17, decimal_places=5) revenue = models.DecimalField(max_digits=17, decimal_places=5) earning = models.DecimalField(max_digits=17, decimal_places=5) ad_server_earning = models.DecimalField(max_digits=17, decimal_places=5) currency_code = models.CharField(max_length=15) payout_start_date = models.DateTimeField() payout_end_date = models.DateTimeField() ad_server_start_date = models.DateTimeField() ad_server_end_date = models.DateTimeField() has_w9 = models.IntegerField() status = models.IntegerField() modified = models.DateTimeField() class Meta: db_table = u'payout_summary_secure' in_db = 'jbb' class PaypalTransactionSecure(models.Model): paypaltransactionsecure_id = models.IntegerField(primary_key=True) orgid = models.IntegerField(db_column='orgId') # Field name made lowercase. payout_history_id = models.IntegerField() transaction_data = models.CharField(max_length=765) payment_status = models.CharField(max_length=765) paypal_status = models.CharField(max_length=765) transaction_timestamp = models.DateTimeField() class Meta: db_table = u'paypal_transaction_secure' in_db = 'jbb' class Transactions(models.Model): txnid = models.IntegerField(primary_key=True, db_column='txnId') # Field name made lowercase. invoiceid = models.ForeignKey(Invoices, db_column='invoiceId') # Field name made lowercase. type = models.IntegerField() reason = models.IntegerField() amount = models.DecimalField(max_digits=17, decimal_places=5) currency_code = models.CharField(max_length=9) transaction = models.CharField(max_length=384) transactedid = models.ForeignKey(OrgAccounts, db_column='transactedId') # Field name made lowercase. transacted_proxy_id = models.IntegerField() transacted = models.DateTimeField() payout_history_id = models.IntegerField() class Meta: db_table = u'transactions' in_db = 'jbb' class TrkDiscountCode(models.Model): job_post_id = models.IntegerField() package_id = models.IntegerField() price = models.DecimalField(max_digits=17, decimal_places=5) final_price = models.DecimalField(max_digits=17, decimal_places=5) currency_code = models.CharField(max_length=9) discount_amount = models.DecimalField(max_digits=17, decimal_places=5) discount_type = models.CharField(max_length=192) job_limit = models.IntegerField() expiration_date = models.DateTimeField() last_updated = models.DateTimeField() class Meta: db_table = u'trk_discount_code' in_db = 'jbb' class TrkJobPackage(models.Model): job_post_id = models.IntegerField() package_id = models.IntegerField() price = models.DecimalField(max_digits=17, decimal_places=5) final_price = models.DecimalField(max_digits=17, decimal_places=5) currency_code = models.CharField(max_length=9) job_limit = models.IntegerField() expiration_date = models.DateTimeField() last_updated = models.DateTimeField() class Meta: db_table = u'trk_job_package' in_db = 'jbb' class Users(models.Model): username = models.CharField(max_length=384, primary_key=True, db_column='userName') # Field name made lowercase. userid = models.ForeignKey(Accounts, db_column='userId') # Field name made lowercase. updated = models.DateTimeField() class Meta: db_table = u'users' in_db = 'jbb' class UserPassword(models.Model): userid = models.ForeignKey(Users, db_column='userId') # Field name made lowercase. password = models.CharField(max_length=34) password_updated = models.DateTimeField() class Meta: db_table = u'user_password' in_db = 'jbb' class UserPasswordReset(models.Model): userid = models.ForeignKey(Users, db_column='userId') # Field name made lowercase. resetkey = models.CharField(max_length=60) sent_count = models.IntegerField() sent_last = models.DateTimeField() reset_created = models.DateTimeField() class Meta: db_table = u'user_password_reset' in_db = 'jbb'
[ "oleg@simplyhired.com" ]
oleg@simplyhired.com
5921a21ef9060b11161b106d169759d3b629e9da
d644f384db2dde05782a01d6c7c48dd6aad209db
/projsite/golfers/migrations/0004_auto_20150426_0228.py
b9350d6ebbd7dbd97f2bf273e1d226b5cc1b4e2a
[]
no_license
matchu865/DjangoSites
c181549b9bf2186a5a4bfb575793edf48cb44090
bf1a8c80283d323ed6bd78589cf8c891739c649e
refs/heads/master
2020-04-26T01:46:03.823875
2015-10-12T03:47:09
2015-10-12T03:47:09
34,357,765
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('golfers', '0003_auto_20150421_2243'), ] operations = [ migrations.AlterField( model_name='golfer', name='age', field=models.CharField(default=30, max_length=3), ), ]
[ "mattreat@gmail.com" ]
mattreat@gmail.com
fd827a17fcf2a873a113ba0741cbdc2c89617593
915b8ec5bd3a7b5b0bc95dafefa2a36c11c2d35d
/Item63/PythonDrillItem63.py
b73113523d4fcd4016860d76d4e485e93c980a8a
[]
no_license
BryceT516/tech-academy-python
c5fac7c6a870592f2b5ab6f9a802bf4580377cb3
b11e77bd8b4a9cbe4fa970aca6fa3c1d65d52f9f
refs/heads/master
2021-01-19T03:56:18.404349
2017-05-07T00:20:27
2017-05-07T00:20:27
87,344,897
0
0
null
null
null
null
UTF-8
Python
false
false
781
py
import shutil import os def moveFiles(folder): if(folder == "a"): source=os.listdir(os.path.abspath("./Folder A/")) destination = os.path.abspath("./Folder B/") folder = "./Folder A/" else: source=os.listdir(os.path.abspath("./Folder B/")) destination = os.path.abspath("./Folder A/") folder = "./Folder B/" for files in source: print ("Moving file:") print (os.path.abspath(folder + files)) shutil.move(os.path.abspath(folder + files), destination) def main(): #See where the files are. if(os.listdir("./Folder A/")): #files are in Folder A moveFiles("a") else: #files are in Folder B moveFiles("b") if __name__ == "__main__": main()
[ "bryce.tucker@gmail.com" ]
bryce.tucker@gmail.com
33d91006881d6e7f3675e15526c06b5516785fdd
aedd3c97fea9be207acb136c2f6318178f1ee609
/track_painter.py
e0e08bde0341007c0b0192aed1920de6329bba84
[]
no_license
andreantonitsch/BumperKarts
7b3a63ef32670cc8ea7889d4d5e883f91a4a7b58
c6f7ee162cae8b8fb6b52d5a8819eea969baa6bb
refs/heads/master
2021-01-20T06:44:10.707110
2017-09-04T03:03:29
2017-09-04T03:03:29
101,511,373
0
0
null
null
null
null
UTF-8
Python
false
false
1,140
py
import numpy as np import cv2 f = open('track.txt') image = cv2.imread('track_downsample.bmp') inner_lines = [] outer_lines = [] while True: a = f.readline().strip() if a == "inner": inner = True elif a == 'outer': inner = False else: if a == 'start': break split = a.split() print(split) tup = (int(split[0]), int(split[1])) if inner: inner_lines.append(tup) else: outer_lines.append(tup) for i in range(len(inner_lines)): cv2.line(image, inner_lines[i], inner_lines[(i+1)%len(inner_lines)], (0, 0, 0)) for i in range(len(outer_lines)): cv2.line(image, outer_lines[i], outer_lines[(i+1)%len(outer_lines)], (0, 0, 0)) # cv2.imwrite("test.bmp", image) f.close() f = open("track_from_image_downsample.txt", 'w') for i in range(image.shape[0]): for j in range(image.shape[0]): if image[i][j][0] == 0: f.write(str(1) + " ") else: f.write(str(0) + " ") f.write('\n')
[ "andre.antonitsch@acad.pucrs.br" ]
andre.antonitsch@acad.pucrs.br
866c75f93fbfb886fdab186a2b60255a529e30b5
0c03189b2af4fb20edde599eeec48da048d81c81
/main.py
5a457da7000315a0b23ab5f917e7218ff13d80ec
[]
no_license
drewmalin/lispy_python_1
66d8bc0fcd3c4b13df962f584a57177b51f25b90
eb4ece249787cb0df9a562c58bed779fef439531
refs/heads/master
2020-03-30T02:53:43.689526
2014-05-06T04:21:29
2014-05-06T04:21:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,133
py
""" Lispy Python (Pythonic Lisp?) """ import ply.lex as lex import ply.yacc as yacc import traceback DEBUG = False #### LEXER #### reserved = { 'and' : 'AND', 'or' : 'OR', 'let' : 'LET' } # Must be present tokens = [ 'SYMBOL', 'NUMBER', 'TIMES', 'DIVIDE', 'PLUS', 'MINUS', 'POW', 'MOD', 'EQUALS', 'LT', 'GT', 'LE', 'GE', 'LPAREN', 'RPAREN' ] + list(reserved.values()) # Tokens # Each definition must be of the form t_<token name defined above> def t_error(t): print "Illegal character \'str(t.value[0])\'" t.lexer.skip(1) def t_newline(t): r'\n+' t.lexer.lineno += t.value.count("\n") def t_SYMBOL(t): r'[a-zA-Z_][a-zA-Z0-9]*' t.type = reserved.get(t.value, 'SYMBOL') return t def t_NUMBER(t): r'[-]?(([0-9]+\.[0-9]+)|(\.[0-9]+)|([0-9]+\.?))' if '.' in t.value: try: t.value = float(t.value) except ValueError: print "Float value too large: " + str(t.value) t.value = 0.0 else: try: t.value = int(t.value) except ValueError: print "Integer value too large: " + str(t.value) t.value = 0 return t t_ignore = ' \t' t_TIMES = r'\*' t_DIVIDE = r'/' t_PLUS = r'\+' t_MINUS = r'-' t_POW = r'\^' t_MOD = r'%' t_EQUALS = r'=' t_LPAREN = r'\(' t_RPAREN = r'\)' t_LE = r'<=' t_GE = r'>=' t_LT = r'<' t_GT = r'>' lex.lex() #### PARSER #### # Symbols SYMBOLS = {} def p_result(p): ''' result : statement ''' print p[1] ### Statements def p_statement_expression(p): ''' statement : LPAREN expression RPAREN ''' p[0] = p[2] ### Expressions def p_expression_let(p): ''' expression : LET SYMBOL operand ''' SYMBOLS[p[2]] = p[3] p[0] = p[3] # Mathematical expressions def p_expression_plus(p): ''' expression : PLUS operands ''' if operand_check(p, 2, '+'): p[0] = reduce(lambda x, y: x + y, p[2]) def p_expression_minus(p): ''' expression : MINUS operands ''' if operand_check(p, 2, '-'): p[0] = reduce(lambda x, y: x - y, p[2]) def p_expression_times(p): ''' expression : TIMES operands ''' if operand_check(p, 2, '*'): p[0] = reduce(lambda x, y: x * y, p[2]) def p_expression_divide(p): ''' expression : DIVIDE operands ''' if operand_check(p, 2, '/'): p[0] = reduce(lambda x, y: x / y, p[2]) def p_expression_pow(p): ''' expression : POW operands ''' if operand_check(p, 2, '^'): p[0] = reduce(lambda x, y: x ** y, p[2]) def p_expression_mod(p): ''' expression : MOD operands ''' if operand_check(p, 2, '%'): p[0] = reduce(lambda x, y: x % y, p[2]) # Boolean expressions def p_expression_gt(p): ''' expression : GT operands ''' if operand_check(p, 2, '>'): p[0] = reduce(lambda x, y: x > y, p[2]) def p_expression_ge(p): ''' expression : GE operands ''' if operand_check(p, 2, '>='): p[0] = reduce(lambda x, y: x >= y, p[2]) def p_expression_lt(p): ''' expression : LT operands ''' if operand_check(p, 2, '<'): p[0] = reduce(lambda x, y: x < y, p[2]) def p_expression_le(p): ''' expression : LE operands ''' if operand_check(p, 2, '<='): p[0] = reduce(lambda x, y: x <= y, p[2]) def p_expression_and(p): ''' expression : AND operands ''' if operand_check(p, 2, 'and'): p[0] = reduce(lambda x, y: x and y, p[2]) def p_expression_or(p): ''' expression : OR operands ''' if operand_check(p, 2, 'or'): p[0] = reduce(lambda x, y: x or y, p[2]) def p_expression_equals(p): ''' expression : EQUALS operands ''' if operand_check(p, 2, '='): p[0] = reduce(lambda x, y: x == y, p[2]) ### Operands def p_operands(p): ''' operands : operand | operand operands ''' p[0] = [] for i in p[1:]: p[0] += [j for j in i] if isinstance(i, list) else [i] def p_operand(p): ''' operand : statement | NUMBER ''' p[0] = p[1] def p_operand_symbol(p): ''' operand : SYMBOL ''' if p[1] in SYMBOLS: p[0] = SYMBOLS[p[1]] else: raise Exception, "Unknown symbol \'" + p[1] + "\' at position " + \ str(p.lexpos(1)) def operand_check(p, size, op): if len(p[2]) < size: raise Exception, "Operator \'" + op + "\' at position " + \ str(p.lexpos(1)) + "requires at least " + str(size) + " operands" else: return True ### Error def p_error(p): if p: print "Syntax error at \'" + p.value + "\'" else: print "Malformed expression (missing closing parenthesis?)" yacc.yacc() while 1: try: s = raw_input('> ') except EOFError: break s = s.strip() if not s: continue if s == "quit" or s == "exit": break try: yacc.parse(s) except Exception as e: print e if DEBUG: print traceback.format_exc()
[ "drew.malin@gmail.com" ]
drew.malin@gmail.com
a719134be420edd7fdbf660daef7dcc6ac0ff0c9
4d65fa3098d949b0f807e8e749a572a620eb5ecf
/createdb.py
b7532e762e5fa0b22d89028c229b0f4b72e7d13a
[]
no_license
sridurgau/MySql
0b1375c83f629137000a729eb98cc9bc9af317ab
4cfbed10afb3f8df1ee4db9f471f3563d8eeff5c
refs/heads/master
2023-04-01T12:00:40.306336
2021-04-14T11:52:29
2021-04-14T11:52:29
357,882,821
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
import pymysql # Open database connection db = pymysql.connect("localhost","root","admin","py_work" ) # prepare a cursor object using cursor() method cursor = db.cursor() # Drop table if it already exist using execute() method. cursor.execute("DROP TABLE IF EXISTS EMPLOYEE") # Create table as per requirement sql = """CREATE TABLE NEWDATA ( FIRST_NAME CHAR(20) NOT NULL, LAST_NAME CHAR(20), AGE INT, SEX CHAR(1), INCOME FLOAT )""" cursor.execute(sql) # disconnect from server db.close()
[ "su@nvidia.com" ]
su@nvidia.com
807223eb8782e42786914cfe301694dc05950c8c
c47340ae6bcac6002961cc2c6d2fecb353c1e502
/test/test_ctmvar_get_result_item.py
468eb96cb02f551c4285294922b0852f7b500fd4
[ "MIT" ]
permissive
rafaeldelrey/controlm_py
6d9f56b8b6e72750f329d85b932ace6c41002cbd
ed1eb648d1d23e587321227217cbfcc5065535ab
refs/heads/main
2023-04-23T09:01:32.024725
2021-05-19T00:25:53
2021-05-19T00:25:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
947
py
# coding: utf-8 """ Control-M Services Provides access to BMC Control-M Services # noqa: E501 OpenAPI spec version: 9.20.115 Contact: customer_support@bmc.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import controlm_py from controlm_py.models.ctmvar_get_result_item import CtmvarGetResultItem # noqa: E501 from controlm_py.rest import ApiException class TestCtmvarGetResultItem(unittest.TestCase): """CtmvarGetResultItem unit test stubs""" def setUp(self): pass def tearDown(self): pass def testCtmvarGetResultItem(self): """Test CtmvarGetResultItem""" # FIXME: construct object with mandatory attributes with example values # model = controlm_py.models.ctmvar_get_result_item.CtmvarGetResultItem() # noqa: E501 pass if __name__ == '__main__': unittest.main()
[ "dcompane@gmail.com" ]
dcompane@gmail.com
0872bff930d415de5ab81d16b43d4c072f232ed1
fd139b0b1826da3cce8f9fd66380adb8c12b5daf
/mysite/main/migrations/0002_auto_20190511_1559.py
c39a3b0c8e3968d8a1be9775ea99940a28bc7f87
[]
no_license
SakuViitalahde/DjangoPage
03ecdeadc32fa99b06bbdb1b61f12c8f3b8b7e51
ebbd144de3c660b6be3f99e8d8e2f2588b100d5e
refs/heads/master
2021-06-27T12:03:41.638298
2021-01-18T18:32:41
2021-01-18T18:32:41
189,599,671
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
# Generated by Django 2.2.1 on 2019-05-11 12:59 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0001_initial'), ] operations = [ migrations.AlterField( model_name='project', name='project_published', field=models.DateTimeField(default=datetime.datetime.now, verbose_name='date published'), ), ]
[ "51236897+SakuViitalahde@users.noreply.github.com" ]
51236897+SakuViitalahde@users.noreply.github.com
69d52adb89797ed0fdafed09898e7270c9e21348
1f7fd7b13962f04eed408374e2bf4f281fbc4981
/courses/forms.py
e20e07a4a6f257d29500ed57ef4d93a3f5659f2b
[]
no_license
pjpassa/django-course-catalog
ea72404af9e0fff1ce090dca71ecf9fda6f81fd3
ee16051d094251fa2fd37176f6719df5bb7c3c8e
refs/heads/master
2021-01-10T06:20:51.385249
2015-10-20T14:32:47
2015-10-20T14:32:47
44,574,493
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
from django.forms import ModelForm from courses.models import Course class CourseForm(ModelForm): class Meta: model = Course exclude = ()
[ "pjpassa@gmail.com" ]
pjpassa@gmail.com
2ef6579a52a47a786dcd0cd8e9e696bc49ffb727
77bb00aaa2333fb2293f38c6176389fdb8e1e0fe
/DTEMP1.py
5b9ebca44afd727555843b63d18c785dca6cfb89
[]
no_license
shatakshisingh24/diadet
d8dbb177c59eded7d3d8af66d6ae0f2ec570d166
816d084c5c16843c46fa51d23d618eadf8e15cfa
refs/heads/main
2023-06-18T09:33:20.575966
2021-07-09T12:18:49
2021-07-09T12:18:49
382,301,650
1
0
null
null
null
null
UTF-8
Python
false
false
1,027
py
#!/usr/bin/env python # coding: utf-8 # In[16]: import pandas as pd import numpy as np from keras import models from keras.models import load_model from tensorflow import keras # In[17]: model = keras.models.load_model('www') # In[30]: def pred(age,fpg,diabp,sysbp,bmi,avgsugar,wcir,hcir,chol,ogtt): mean=np.array([ 47.57372401, 152.46691871, 80.99243856, 130.42627599, 25.15104344, 7.84291115, 95.4073724 , 98.72117202, 237.63610586, 217.36672968]) dev=np.array([13.949183 , 73.80475753, 4.83384664, 12.72021721, 3.98544049, 2.3917692 , 11.75528716, 10.05522809, 50.12737702, 91.57451541]) x=np.zeros(10) x[0]=age x[1]=fpg x[2]=diabp x[3]=sysbp x[4]=bmi x[5]=avgsugar x[6]=wcir x[7]=hcir x[8]=chol x[9]=ogtt for i in range(0,10): x[i]=(x[i]-mean[i])/dev[i] x=x.reshape((1,10,-1)) out= model.predict([x]) if(out[0][0]>0.5): return 'Diabetic' else: return 'Non-Diabetic'
[ "noreply@github.com" ]
shatakshisingh24.noreply@github.com
8ac6d4ffee5faa4d17e619e6f7dd675eca439e69
444a9480bce2035565332d4d4654244c0b5cd47b
/official/audio/EcapaTDNN/src/metrics.py
b8c942584e3ac8a4ad4f779226e7c25b9bcbf35d
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-proprietary-license" ]
permissive
mindspore-ai/models
7ede9c6454e77e995e674628204e1c6e76bd7b27
eab643f51336dbf7d711f02d27e6516e5affee59
refs/heads/master
2023-07-20T01:49:34.614616
2023-07-17T11:43:18
2023-07-17T11:43:18
417,393,380
301
92
Apache-2.0
2023-05-17T11:22:28
2021-10-15T06:38:37
Python
UTF-8
Python
false
false
1,808
py
# Copyright 2022 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ============================================================================ def compute_fa_miss(scores, labels, pos_label=1, return_thresholds=True): """Returns P_fa, P_miss, [thresholds] """ from sklearn.metrics import roc_curve fpr, tpr, thresholds = roc_curve(labels, scores, pos_label=pos_label) P_fa = fpr[::-1] P_miss = 1. - tpr[::-1] thresholds = thresholds[::-1] if return_thresholds: return P_fa, P_miss, thresholds return P_fa, P_miss def get_EER(P_fa, P_miss, thresholds=None): """Compute EER given false alarm and miss probabilities """ from scipy.optimize import brentq from scipy.interpolate import interp1d eer = brentq(lambda x: x - interp1d(P_fa, P_miss)(x), 0., 1.) eer = float(eer) if thresholds is None: return eer thresh_eer = interp1d(P_fa, thresholds)(eer) thresh_eer = float(thresh_eer) return eer, thresh_eer def get_EER_from_scores(scores, labels, pos_label=1): """Compute EER given scores and labels """ P_fa, P_miss, thresholds = compute_fa_miss(scores, labels, pos_label, return_thresholds=True) eer, thresh_eer = get_EER(P_fa, P_miss, thresholds) return eer, thresh_eer
[ "gengdongjie@huawei.com" ]
gengdongjie@huawei.com
b6cee89885fa8d5fc3a54ab0fca6d8ad0b379bc2
14608ed7652eb92566806d3997f52d8ef80f7b0d
/8_5.py
5f9b795f96915e46c067f4fadc243e06c6a4a1e6
[]
no_license
samuelcorralesc/programacion
22e37b0cd9ac1084684df82845f9c93327e29c9d
1229aa29f34551fe095e2b1e04ff0302bb9734c0
refs/heads/master
2023-05-05T21:32:39.480619
2021-05-23T16:36:49
2021-05-23T16:36:49
296,705,555
1
0
null
null
null
null
UTF-8
Python
false
false
929
py
triangulo=input("") (a,b,c)==triangulo.split(" ") a=float(a) b=float(b) c=float(c) if (a==b==c): A=a B=b C=c elif a>=b and a>=c and b>=c: A = a B = b C = c elif a >= b and a >= c and c >= b: A = a B = c C = b elif b>=a and b>=c and a>=c: A = b B = a C = c elif b>=a and b>=c and c>=a: A = b B = c C = a elif c>=a and c>=b and a>=b: A = c B = a C = b elif c>=a and c>=b and b>=a: A = c B = b C = a if (A>=B+C): print('NAO FORMA TRIANGULO') else: if (A**2==B**2+C**2): print('TRIANGULO RETANGULO') if (A**2>B**2+C**2): print('TRIANGULO OBTUSANGULO') if (A**2<B**2+C**2): print('TRIANGULO ACUTANGULO') if (A==B==C): print('TRIANGULO EQUILATERO') if (A==B and A!=C or B==C and B!=A or C==A and C!=B): print('TRIANGULO ISOCELES')
[ "scorrales@unal.edu.co" ]
scorrales@unal.edu.co
a32ca068890523e7353e7b1af637e8380d91876e
4a0779004f663d757a78e1cbb33596de105265ff
/F/b.py
4c12394a252f3b5678045da6479a81494d56e9c0
[]
no_license
dksavage1/dksavage1.github.io
440625b9e22807b387d7e12d8a87a3acd33a49a0
4c7db547d33caa9d915b8855f1a16bfc5bbc83cd
refs/heads/master
2020-07-14T03:04:33.614215
2019-12-05T19:35:18
2019-12-05T19:35:18
205,221,319
0
0
null
null
null
null
UTF-8
Python
false
false
72
py
while count < 3: count = count + 1 print("Hello Geek")
[ "noreply@github.com" ]
dksavage1.noreply@github.com
3240589c1394a93926b504cb009e6d1040c83595
fb0bff7d79a249d8b36aa7c967c16f3239b6d8a1
/app.py
20116b1bc8bf0de9e28782f2dc08adcf392f7f9d
[]
no_license
04akvs/Admin-Management-System
0d864382f3b0e77287d7d7f33d47efb473e533d0
e55b33787859450908dc29f120f0afd70c9edf3e
refs/heads/main
2023-02-11T14:22:08.709592
2021-01-07T07:01:13
2021-01-07T07:01:13
327,523,243
0
0
null
null
null
null
UTF-8
Python
false
false
55,130
py
import tkinter as tk from tkinter import ttk from tkinter import messagebox from tkinter import simpledialog from Supporting_Programs.admin import * from Supporting_Programs.database import * from Supporting_Programs.student import * from Supporting_Programs.staff import * from Supporting_Programs.databaseSS import * import os from fpdf import FPDF import matplotlib.pyplot as plt from datetime import date from Supporting_Programs.pdfCreator import * from Supporting_Programs.idCardCreator import idGenerator Large_Font = ("Verdana", 15) Small_Font = ("Verdana", 12) class MainApp(tk.Tk): def __init__(self, *args, **kwargs): tk.Tk.__init__(self, *args, **kwargs) tk.Tk.title(self,"Admin Management System") tk.Tk.geometry(self, "1480x780+0+0") title = tk.Label(self, text = "Admin Management System", font = Large_Font, bg = "dark turquoise", fg = "black") title.pack(side = "top", fill = "both") container = tk.Frame(self) container.pack(side = "top", fill = "both", expand = True, padx = 10, pady = 10) container.grid_rowconfigure(0, weight = 1) container.grid_columnconfigure(0, weight = 1) self.frames = {} for F in (HomePage, AdminSetting, StudentManagement, ViewAllStudent, EnterMarks, ReportCard, StaffManagement, ViewAllStaff): frame = F(container, self) self.frames[F] = frame frame.grid(row = 0, column = 0, sticky = "nsew") self.show_frame(HomePage) def show_frame(self, cont): frame = self.frames[cont] frame.tkraise() class HomePage(tk.Frame): def __init__(self, parent, controller): tk.Frame.__init__(self, parent) label = tk.Label(self, text = "Home Page", font = Large_Font) label.pack(pady = 10, padx = 10) def adminCall(): password = simpledialog.askstring("Enter Password", "Password") a = Admin() actualPassword = a.password if password == actualPassword: controller.show_frame(AdminSetting) else: messagebox.showwarning("Warning!!!", "Enter the Correct Password!!!") buttonAdmin = tk.Button(self, text = "Admin Settings", height = 20, width = 20, bg = "dark turquoise", font = Small_Font, command = lambda: adminCall()) buttonAdmin.pack(side = "left", padx = 135) buttonStaff = tk.Button(self, text = "Staff Management", height = 20, width = 20, bg = "dark turquoise", font = Small_Font, command = lambda: controller.show_frame(StaffManagement)) buttonStaff.pack(side = "left", padx = 135) buttonStudent = tk.Button(self, text = "Student Management", height = 20, width = 20, bg = "dark turquoise", font = Small_Font, command = lambda: controller.show_frame(StudentManagement)) buttonStudent.pack(side = "left", padx = 135) class AdminSetting(tk.Frame): def __init__(self, parent, controller): self.a = Admin() tk.Frame.__init__(self, parent) label = tk.Label(self, text = "Admin Page", font = Large_Font) label.pack(pady = 10, padx = 10) changeYearFrame = tk.Frame(self,bd= 0, relief = "raised") changeYearFrame.place(x = 20, y=100, width = 1400) printYear = tk.Label(changeYearFrame, text = "Current Year: " + str(self.a.year), font = Large_Font) printYear.grid(row = 0, column= 0, padx = 10) changeYearEntry = tk.Entry(changeYearFrame) changeYearEntry.grid(row = 0, column= 1, padx = 10) changeYear = tk.Button(changeYearFrame, text = "Change Year", width = 20, bg = "dark turquoise", font = Small_Font, command = lambda: [self.a.change_year(changeYearEntry.get()), changeYearEntry.delete(0, tk.END), printYear.config(text = "Current Year: " + str(self.a.year))]) changeYear.grid(row = 0, column= 2, padx = 10) changeAdminFrame = tk.Frame(self,bd= 0, relief = "raised") changeAdminFrame.place(x = 20, y=200, width = 1400) printAdmin = tk.Label(changeAdminFrame, text = "Current Admin: " + str(self.a.name), font = Large_Font) printAdmin.grid(row = 0, column= 0, padx = 10) changeAdminEntry = tk.Entry(changeAdminFrame) changeAdminEntry.grid(row = 0, column= 1, padx = 10) changeAdmin = tk.Button(changeAdminFrame, text = "Change Admin", width = 20, bg = "dark turquoise", font = Small_Font, command = lambda: [self.a.change_admin(changeAdminEntry.get()),changeAdminEntry.delete(0, tk.END), printAdmin.config(text = "Current Admin: " + str(self.a.name))]) changeAdmin.grid(row = 0, column= 2, padx = 10) changeSemesterFrame = tk.Frame(self,bd= 0, relief = "raised") changeSemesterFrame.place(x = 20, y=300, width = 1400) printSemester = tk.Label(changeSemesterFrame, text = "Current Semester: " + str(self.a.semester), font = Large_Font) printSemester.grid(row = 0, column= 0, padx = 10) changeSemester = tk.Button(changeSemesterFrame, text = "Change Semester", width = 20, bg = "dark turquoise", font = Small_Font, command = lambda: [self.a.change_semester(), printSemester.config(text = "Current Semester: " + str(self.a.semester))]) changeSemester.grid(row = 0, column= 2, padx = 10) changePasswordFrame = tk.Frame(self,bd= 0, relief = "raised") changePasswordFrame.place(x = 20, y=400, width = 1400) changePasswordEntry = tk.Entry(changePasswordFrame, font = Large_Font) changePasswordEntry.grid(row = 0, column= 1, padx = 10) changePassword = tk.Button(changePasswordFrame, text = "Change Password", width = 20, bg = "dark turquoise", font = Small_Font, command = lambda: [self.a.change_password(changePasswordEntry.get()),changePasswordEntry.delete(0, tk.END)]) changePassword.grid(row = 0, column= 2, padx = 10) backButton = tk.Button(self, text = "Back To Home", width = 20, bg = "dark turquoise", font = Small_Font, command = lambda: controller.show_frame(HomePage)) backButton.pack(side = "bottom", pady = 10, padx = 10) class StudentManagement(tk.Frame): outputList = "None" def __init__(self, parent, controller): self.s = Student() tk.Frame.__init__(self, parent) label = tk.Label(self, text = "Student Management Page", font = Large_Font) label.pack(pady = 10, padx = 10) #####Instructions Frame#### insFrame = tk.Frame(self,bd= 0, relief = "raised", bg = "dark turquoise") insFrame.place(x = 0, y = 50, width = 1480, height = 70) ins1 = tk.Label(insFrame, text = "1. To add a student, enter input in all the fields and click Add.", font = Small_Font, bg = "dark turquoise") ins1.grid(row = 0, column = 0, sticky = "w", padx = 5, pady = 5) ins2 = tk.Label(insFrame, text = "2. To modify a student, enter the roll number in the input field in left frame and enter those details which are needed to be changed and click modify.", font = Small_Font, bg = "dark turquoise") ins2.grid(row = 1, column = 0, sticky = "w", padx = 5, pady = 5) #####Input Frame########### inputFrame = tk.Frame(self,bd= 0, relief = "raised", bg = "dark turquoise") inputFrame.place(x = 40, y = 150, width = 600, height = 450) name = tk.Label(inputFrame, text = "Name: ", font = Large_Font, bg = "dark turquoise") name.grid(row = 0, column= 0, padx = 10, pady = 5) nameEntry = tk.Entry(inputFrame, width = 25, font = Large_Font) nameEntry.grid(row = 0, column= 1, padx = 10, pady = 5) dept = tk.Label(inputFrame, text = "Department: ", font = Large_Font, bg = "dark turquoise") dept.grid(row = 1, column= 0, padx = 10, pady = 5) deptEntry = ttk.Combobox(inputFrame, width = 24, font = Large_Font) deptval = ["CSE", "ECE"] deptEntry["values"] = (deptval) deptEntry.grid(row = 1, column= 1, padx = 10, pady = 5) roll = tk.Label(inputFrame, text = "Roll No.: ", font = Large_Font, bg = "dark turquoise") roll.grid(row = 2, column= 0, padx = 10, pady = 5) rollEntry = tk.Entry(inputFrame, width = 25, font = Large_Font) rollEntry.grid(row = 2, column= 1, padx = 10, pady = 5) year = tk.Label(inputFrame, text = "Year: ", font = Large_Font, bg = "dark turquoise") year.grid(row = 3, column= 0, padx = 10, pady = 5) yearEntry = ttk.Combobox(inputFrame, width = 24, font = Large_Font) yearval = ["1st", "2nd", "3rd", "4th"] yearEntry["values"] = (yearval) yearEntry.grid(row = 3, column= 1, padx = 10, pady = 5) hostel = tk.Label(inputFrame, text = "Hostel: ", font = Large_Font, bg = "dark turquoise") hostel.grid(row = 4, column= 0, padx = 10, pady = 5) hostelEntry = ttk.Combobox(inputFrame, width = 24, font = Large_Font) hostelEntry["values"] = ( "Yes", "No" ) hostelEntry.grid(row = 4, column= 1, padx = 10, pady = 5) course1 = tk.Label(inputFrame, text = "Course 1: ", font = Large_Font, bg = "dark turquoise") course1.grid(row = 5, column= 0, padx = 10, pady = 5) course1Entry = ttk.Combobox(inputFrame, width = 24, font = Large_Font) course1Entry["values"] = ( "MATHS 1", "MATHS 2", "NMPT" ) course1Entry.grid(row = 5, column= 1, padx = 10, pady = 5) course2 = tk.Label(inputFrame, text = "Course 2: ", font = Large_Font, bg = "dark turquoise") course2.grid(row = 6, column= 0, padx = 10, pady = 5) course2Entry = ttk.Combobox(inputFrame, width = 24, font = Large_Font) course2Entry["values"] = ( "INTRODUCTION TO PROGRAMMING", "DATA STRUCTURES", "DATA STRUCTURES WITH APPLICATIONS" ) course2Entry.grid(row = 6, column= 1, padx = 10, pady = 5) course3 = tk.Label(inputFrame, text = "Course 3: ", font = Large_Font, bg = "dark turquoise") course3.grid(row = 7, column= 0, padx = 10, pady = 5) course3Entry = ttk.Combobox(inputFrame, width = 24, font = Large_Font) course3Entry["values"] = ( "ANALOG ELECTRONICS", "DIGITAL ELECTRONICS", "MICROPROCESSOR AND INTERFACING" ) course3Entry.grid(row = 7, column= 1, padx = 10, pady = 5) course4 = tk.Label(inputFrame, text = "Course 4: ", font = Large_Font, bg = "dark turquoise") course4.grid(row = 8, column= 0, padx = 10, pady = 5) course4Entry = ttk.Combobox(inputFrame, width = 24, font = Large_Font) course4Entry["values"] = ( "COMPUTER SYSTEM ORGANISAION", "APPLICATION PROGRAMMING", "ELECTRICAL CIRCUITS" ) course4Entry.grid(row = 8, column= 1, padx = 10, pady = 5) course5 = tk.Label(inputFrame, text = "Course 5: ", font = Large_Font, bg = "dark turquoise") course5.grid(row = 9, column= 0, padx = 10, pady = 5) course5Entry = ttk.Combobox(inputFrame, width = 24, font = Large_Font) course5Entry["values"] = ( "OBJECT ORIENTED PROGRAMMING", "APPLIED SCIENCE", "MECHANICS AND GRAPHICS" ) course5Entry.grid(row = 9, column= 1, padx = 10, pady = 5) course6 = tk.Label(inputFrame, text = "Course 6: ", font = Large_Font, bg = "dark turquoise") course6.grid(row = 10, column= 0, padx = 10, pady = 5) course6Entry = ttk.Combobox(inputFrame, width = 24, font = Large_Font) course6Entry["values"] = ( "ENVIRONMENTAL STUDIES", "COMMUNICATIONS SKILLS", "IT WORKSHOP1" ) course6Entry.grid(row = 10, column= 1, padx = 10, pady = 5) def getInput(): Sname = nameEntry.get() Sroll = rollEntry.get() Sdept = deptEntry.get() Syear = yearEntry.get() Shostel = hostelEntry.get() Sc1 = course1Entry.get() Sc2 = course2Entry.get() Sc3 = course3Entry.get() Sc4 = course4Entry.get() Sc5 = course5Entry.get() Sc6 = course6Entry.get() Slist = [Sname, Sroll, Sdept, Syear, Shostel, Sc1, Sc2, Sc3, Sc4, Sc5, Sc6] return Slist def deleteEntryFields(): nameEntry.delete(0, tk.END) rollEntry.delete(0, tk.END) deptEntry.delete(0, tk.END) yearEntry.delete(0, tk.END) hostelEntry.delete(0, tk.END) course1Entry.delete(0, tk.END) course2Entry.delete(0, tk.END) course3Entry.delete(0, tk.END) course4Entry.delete(0, tk.END) course5Entry.delete(0, tk.END) course6Entry.delete(0, tk.END) def addStudent(): checkList = search("Databases\\student","roll number",rollEntry.get()) if checkList[0] == "Not Available": entryList = getInput() if "" in entryList: messagebox.showwarning("Warning!!!", "No Entry field should remain empty!!!") else: self.s.add_student(entryList) deleteEntryFields() else: messagebox.showwarning("Warning!!!", "The Roll Number already exists") def modifyStudent(): checkList = search("Databases\\student","roll number",rollEntry.get()) if rollEntry.get() == "": messagebox.showwarning("Warning!!!", "Please Enter the roll number to modify!!") elif checkList[0] == "Not Available": messagebox.showwarning("Warning!!!", "The Roll Number does not exist!\n Add it first") else: self.s.modify_student(getInput()) deleteEntryFields() viewButtonFrame1 = tk.Frame(self,bd= 0, relief = "raised", bg = "dark turquoise") viewButtonFrame1.place(x = 40, y = 600, width = 600, height = 70) addButton = tk.Button(viewButtonFrame1, text = "Add", font = Large_Font, width = 15, bg = "dark turquoise", command = lambda: addStudent()) addButton.grid(row = 0, column = 1, padx = 47, pady = 10) modifyButton = tk.Button(viewButtonFrame1, text = "Modify", font = Large_Font, width = 15, bg = "dark turquoise", command = lambda: modifyStudent()) modifyButton.grid(row = 0, column = 2, padx = 47, pady = 10) #####View Frame############### viewFrame = tk.Frame(self,bd= 0, relief = "raised", bg = "dark turquoise") viewFrame.place(x = 740, y = 200, width = 700, height = 400) def searchDetails(rollno): self.outputList = search("Databases\\student","roll number",rollno) nameV1 = tk.Label(viewFrame, text = "Name: ", font = Large_Font, bg = "dark turquoise") nameV1.grid(row = 1, column= 0, padx = 10, pady = 3) nameV2 = tk.Label(viewFrame, text = "", font = Large_Font, bg = "dark turquoise") nameV2.grid(row = 1, column= 1, padx = 10, pady = 3) deptV1 = tk.Label(viewFrame, text = "Department: ", font = Large_Font, bg = "dark turquoise") deptV1.grid(row = 2, column= 0, padx = 10, pady = 3) deptV2 = tk.Label(viewFrame, text = "", font = Large_Font, bg = "dark turquoise") deptV2.grid(row = 2, column= 1, padx = 10, pady = 3) rollV1 = tk.Label(viewFrame, text = "Roll No.: ", font = Large_Font, bg = "dark turquoise") rollV1.grid(row = 3, column= 0, padx = 10, pady = 3) rollV2 = tk.Label(viewFrame, text = "", font = Large_Font, bg = "dark turquoise") rollV2.grid(row = 3, column= 1, padx = 10, pady = 3) yearV1 = tk.Label(viewFrame, text = "Year: ", font = Large_Font, bg = "dark turquoise") yearV1.grid(row = 4, column= 0, padx = 10, pady = 3) yearV2 = tk.Label(viewFrame, text = "", font = Large_Font, bg = "dark turquoise") yearV2.grid(row = 4, column= 1, padx = 10, pady = 3) hostelV1 = tk.Label(viewFrame, text = "Hostel: ", font = Large_Font, bg = "dark turquoise") hostelV1.grid(row = 5, column= 0, padx = 10, pady = 3) hostelV2 = tk.Label(viewFrame, text = "", font = Large_Font, bg = "dark turquoise") hostelV2.grid(row = 5, column= 1, padx = 10, pady = 3) course1V1 = tk.Label(viewFrame, text = "Course 1: ", font = Large_Font, bg = "dark turquoise") course1V1.grid(row = 6, column= 0, padx = 10, pady = 3) course1V2 = tk.Label(viewFrame, text = "", font = Large_Font, bg = "dark turquoise") course1V2.grid(row = 6, column= 1, padx = 10, pady = 3) course2V1 = tk.Label(viewFrame, text = "Course 2: ", font = Large_Font, bg = "dark turquoise") course2V1.grid(row = 7, column= 0, padx = 10, pady = 3) course2V2 = tk.Label(viewFrame, text = "", font = Large_Font, bg = "dark turquoise") course2V2.grid(row = 7, column= 1, padx = 10, pady = 3) course3V1 = tk.Label(viewFrame, text = "Course 3: ", font = Large_Font, bg = "dark turquoise") course3V1.grid(row = 8, column= 0, padx = 10, pady = 3) course3V2 = tk.Label(viewFrame, text = "", font = Large_Font, bg = "dark turquoise") course3V2.grid(row = 8, column= 1, padx = 10, pady = 3) course4V1 = tk.Label(viewFrame, text = "Course 4: ", font = Large_Font, bg = "dark turquoise") course4V1.grid(row = 9, column= 0, padx = 10, pady = 3) course4V2 = tk.Label(viewFrame, text = "", font = Large_Font, bg = "dark turquoise") course4V2.grid(row = 9, column= 1, padx = 10, pady = 3) course5V1 = tk.Label(viewFrame, text = "Course 5: ", font = Large_Font, bg = "dark turquoise") course5V1.grid(row = 10, column= 0, padx = 10, pady = 3) course5V2 = tk.Label(viewFrame, text = "", font = Large_Font, bg = "dark turquoise") course5V2.grid(row = 10, column= 1, padx = 10, pady = 3) course6V1 = tk.Label(viewFrame, text = "Course 6: ", font = Large_Font, bg = "dark turquoise") course6V1.grid(row = 11, column= 0, padx = 10, pady = 3) course6V2 = tk.Label(viewFrame, text = "", font = Large_Font, bg = "dark turquoise") course6V2.grid(row = 11, column= 1, padx = 10, pady = 3) def updateLabels(rollno): nameV2.config(text = str(self.outputList[0])) deptV2.config(text = str(self.outputList[1])) rollV2.config(text = str(rollno)) yearV2.config(text = str(self.outputList[2])) hostelV2.config(text = str(self.outputList[3])) course1V2.config(text = str(self.outputList[4])) course2V2.config(text = str(self.outputList[5])) course3V2.config(text = str(self.outputList[6])) course4V2.config(text = str(self.outputList[7])) course5V2.config(text = str(self.outputList[8])) course6V2.config(text = str(self.outputList[9])) searchFrame = tk.Frame(self,bd= 0, relief = "raised", bg = "dark turquoise") searchFrame.place(x = 740, y = 150, width = 700, height = 50) printquery = tk.Label(searchFrame, text = "Enter a Roll Number to search: " , font = Small_Font, bg = "dark turquoise") printquery.grid(row = 0, column= 0, padx = 5, pady = 10) rollNoEntry = tk.Entry(searchFrame) rollNoEntry.grid(row = 0, column= 1, padx = 5, pady = 10) def searchButtonCall(): if rollNoEntry.get() == "": messagebox.showwarning("Warning!!!", "Please enter the roll number before pressing search!!!") else: searchDetails(rollNoEntry.get()) updateLabels(rollNoEntry.get()) searchButton = tk.Button(searchFrame, text = " Search ", width = 12, bg = "dark turquoise", font = Small_Font, command = lambda: searchButtonCall()) searchButton.grid(row = 0, column= 2, padx = 5, pady = 10) addMarksButton = tk.Button(searchFrame, text = " Add Marks ", width = 12, bg = "dark turquoise", font = Small_Font, command = lambda: controller.show_frame(EnterMarks)) addMarksButton.grid(row = 0, column= 3, padx = 5, pady = 10) def deleteButtonCall(): if rollNoEntry.get() == "": messagebox.showwarning("Warning!!!", "Please enter the roll number and search before deleting!!!") else: deleteRecord("Databases\\student", rollNoEntry.get()) deleteRecord("Databases\\studentMarks", rollNoEntry.get()) searchDetails(rollNoEntry.get()) updateLabels(rollNoEntry.get()) rollNoEntry.delete(0, tk.END) viewButtonFrame2 = tk.Frame(self,bd= 0, relief = "raised", bg = "dark turquoise") viewButtonFrame2.place(x = 740, y = 600, width = 700, height = 70) deleteButton = tk.Button(viewButtonFrame2, text = "Delete", font = Large_Font, bg = "dark turquoise", width = 15, command = lambda: deleteButtonCall()) deleteButton.grid(row = 0, column = 1, padx = 12, pady = 10) viewAllButton = tk.Button(viewButtonFrame2, text = "View All", font = Large_Font, bg = "dark turquoise", width = 15, command = lambda: controller.show_frame(ViewAllStudent)) viewAllButton.grid(row = 0, column = 2, padx = 12, pady = 10) viewGCardButton = tk.Button(viewButtonFrame2, text = "View Grade Card", font = Large_Font, bg = "dark turquoise", width = 15, command = lambda: controller.show_frame(ReportCard)) viewGCardButton.grid(row = 0, column = 3, padx = 12, pady = 10) #####Back Button############## backButton = tk.Button(self, text = "Back To Home", width = 20, bg = "dark turquoise", font = Small_Font, command = lambda: controller.show_frame(HomePage)) backButton.pack(side = "bottom", pady = 10, padx = 10) class ViewAllStudent(tk.Frame): def __init__(self, parent, controller): self.s = Student() tk.Frame.__init__(self, parent) label = tk.Label(self, text = "View All Details", font = Large_Font) label.pack(pady = 10, padx = 10) viewAllFrame = tk.Frame(self,bd= 0, relief = "raised", bg = "dark turquoise") viewAllFrame.place(x = 250, y = 100, width = 1000, height = 580) scrollbar1 = tk.Scrollbar(viewAllFrame) scrollbar2 = tk.Scrollbar(viewAllFrame, orient = "horizontal") scrollbar1.pack(side = "right", fill = 'y') scrollbar2.pack(side = "bottom", fill = 'x') totalEntries, details = get_details("Databases\\student") detailsList = tk.Listbox(viewAllFrame, yscrollcommand = scrollbar1.set, xscrollcommand = scrollbar2.set, bg = "dark turquoise", width = 900, font = Small_Font) def refreshPage(): detailsList.delete(0, tk.END) totalEntries, details = get_details("Databases\\student") for i in range(1, totalEntries+1): detailsList.insert(tk.END, f"{i}. Name: {details[i][0]} Dept: {details[i][1]} Roll no.: {details[i][2]} Year: {details[i][3]} Hostel: {details[i][4]} Course 1: {details[i][5]} Course 2: {details[i][6]} Course 3: {details[i][7]} Course 4: {details[i][8]} Course 5: {details[i][9]} Course 6: {details[i][10]}") detailsList.insert(tk.END, " ") for i in range(1, totalEntries+1): detailsList.insert(tk.END, f"{i}. Name: {details[i][0]} Dept: {details[i][1]} Roll no.: {details[i][2]} Year: {details[i][3]} Hostel: {details[i][4]} Course 1: {details[i][5]} Course 2: {details[i][6]} Course 3: {details[i][7]} Course 4: {details[i][8]} Course 5: {details[i][9]} Course 6: {details[i][10]}") detailsList.insert(tk.END, " ") detailsList.pack(side = "right", fill = "both") scrollbar1.config(command = detailsList.yview) scrollbar2.config(command = detailsList.xview) viewButtonFrame = tk.Frame(self,bd= 0, relief = "raised") viewButtonFrame.place(x = 250, y = 50, width = 1000, height = 50) refreshButton = tk.Button(viewButtonFrame, text = "Refresh", width = 28, bg = "dark turquoise", font = Small_Font, command = refreshPage) refreshButton.pack(side = "top", pady = 10, padx = 10, anchor = "ne") #####Back Button############## backButton = tk.Button(self, text = "Back To Student Management", width = 28, bg = "dark turquoise", font = Small_Font, command = lambda: controller.show_frame(StudentManagement)) backButton.pack(side = "bottom", pady = 10, padx = 10) class EnterMarks(tk.Frame): def __init__(self, parent, controller): tk.Frame.__init__(self, parent) label = tk.Label(self, text = "Enter Marks(Percentage)", font = Large_Font) label.pack(pady = 10, padx = 10) rollFrame = tk.Frame(self,bd= 0, relief = "raised", bg = "dark turquoise") rollFrame.place(x = 80, y = 40, width = 1300, height = 80) rollno = tk.Label(rollFrame, text = "Enter Rollno: ", font = Large_Font, bg = "dark turquoise") rollno.grid(row = 0, column= 0, padx = 50, pady = 20) rollnoEntry = tk.Entry(rollFrame, width = 30, font = Large_Font) rollnoEntry.grid(row = 0, column= 1, padx = 50, pady = 20) inputFrame = tk.Frame(self,bd= 0, relief = "raised", bg = "dark turquoise") inputFrame.place(x = 40, y = 150, width = 1400, height =500) marks_course1 = tk.Label(inputFrame, text = "Course 1: ", font = Large_Font, bg = "dark turquoise") marks_course1.grid(row = 1, column= 0, padx = 80, pady = 20) marks_course1_Entry = tk.Entry(inputFrame, width = 45, font = Large_Font) marks_course1_Entry.grid(row = 1, column= 1, padx = 80, pady = 20) marks_course2 = tk.Label(inputFrame, text = "Course 2: ", font = Large_Font, bg = "dark turquoise") marks_course2.grid(row = 2, column= 0, padx = 80, pady = 20) marks_course2_Entry = tk.Entry(inputFrame, width = 45, font = Large_Font) marks_course2_Entry.grid(row = 2, column= 1, padx = 80, pady = 20) marks_course3 = tk.Label(inputFrame, text = "Course 3: ", font = Large_Font, bg = "dark turquoise") marks_course3.grid(row = 3, column= 0, padx = 80, pady = 20) marks_course3_Entry = tk.Entry(inputFrame, width = 45, font = Large_Font) marks_course3_Entry.grid(row = 3, column= 1, padx = 80, pady = 20) marks_course4 = tk.Label(inputFrame, text = "Course 4: ", font = Large_Font, bg = "dark turquoise") marks_course4.grid(row = 4, column= 0, padx = 80, pady = 20) marks_course4_Entry = tk.Entry(inputFrame, width = 45, font = Large_Font) marks_course4_Entry.grid(row = 4, column= 1, padx = 80, pady = 20) marks_course5 = tk.Label(inputFrame, text = "Course 5: ", font = Large_Font, bg = "dark turquoise") marks_course5.grid(row = 5, column= 0, padx = 80, pady = 20) marks_course5_Entry = tk.Entry(inputFrame, width = 45, font = Large_Font) marks_course5_Entry.grid(row = 5, column= 1, padx = 80, pady = 20) marks_course6 = tk.Label(inputFrame, text = "Course 6: ", font = Large_Font, bg = "dark turquoise") marks_course6.grid(row = 6, column= 0, padx = 80, pady = 20) marks_course6_Entry = tk.Entry(inputFrame, width = 45, font = Large_Font) marks_course6_Entry.grid(row = 6, column= 1, padx = 80, pady = 20) def updateLabels(rollno): outputList = search("Databases\\student","roll number",rollno) marks_course1.config(text = str(outputList[4]) + ": ") marks_course2.config(text = str(outputList[5]) + ": ") marks_course3.config(text = str(outputList[6]) + ": ") marks_course4.config(text = str(outputList[7]) + ": ") marks_course5.config(text = str(outputList[8]) + ": ") marks_course6.config(text = str(outputList[9]) + ": ") showButton = tk.Button(rollFrame, text = "Search", width = 28, bg = "dark turquoise", font = Large_Font, command = lambda: updateLabels(rollnoEntry.get())) showButton.grid(row = 0, column= 2, padx = 50, pady = 20) #####Submit Button############## def getInput(): Sroll = rollnoEntry.get() Sc1 = marks_course1_Entry.get() Sc2 = marks_course2_Entry.get() Sc3 = marks_course3_Entry.get() Sc4 = marks_course4_Entry.get() Sc5 = marks_course5_Entry.get() Sc6 = marks_course6_Entry.get() Slist = [Sroll, Sc1, Sc2, Sc3, Sc4, Sc5, Sc6] return Slist def deleteEntryFields(): rollnoEntry.delete(0, tk.END) marks_course1_Entry.delete(0, tk.END) marks_course2_Entry.delete(0, tk.END) marks_course3_Entry.delete(0, tk.END) marks_course4_Entry.delete(0, tk.END) marks_course5_Entry.delete(0, tk.END) marks_course6_Entry.delete(0, tk.END) def addMarks(): outputList = search("Databases\\student","roll number",rollnoEntry.get()) if outputList[0] == "Not Available": messagebox.showwarning("Warning!!!", "Record Not Found!!!") else: checkList = search("Databases\\studentMarks","roll number",rollnoEntry.get()) if checkList[0] == "Not Available": entryList = getInput() if "" in entryList: messagebox.showwarning("Warning!!!", "No Entry field should remain empty!!!") else: details = { "name" : [outputList[0]], "department" : [outputList[1]], "roll number" : [entryList[0]], "course1" : [entryList[1]], "course2" : [entryList[2]], "course3" : [entryList[3]], "course4" : [entryList[4]], "course5" : [entryList[5]], "course6" : [entryList[6]] } write_to_file(details, "Databases\\studentMarks") deleteEntryFields() else: entryList = getInput() if "" in entryList: messagebox.showwarning("Warning!!!", "No Entry field should remain empty!!!") else: details = { "name" : [outputList[0]], "department" : [outputList[1]], "roll number": [entryList[0]], "course1" : [entryList[1]], "course2" : [entryList[2]], "course3" : [entryList[3]], "course4" : [entryList[4]], "course5" : [entryList[5]], "course6" : [entryList[6]] } modify_details("Databases\\studentMarks", entryList[0], details) deleteEntryFields() submitButtonFrame = tk.Frame(self, bd= 0, relief = "raised", bg = "dark turquoise") submitButtonFrame.place(x = 40, y = 600, width = 1400, height = 60) submitButton = tk.Button(submitButtonFrame, text = "Submit", width = 28, bg = "dark turquoise", font = Large_Font, command = lambda: addMarks()) submitButton.grid(row = 0, column = 0, pady = 5, padx = 500) #####Back Button############## backButton = tk.Button(self, text = "Back To Student Management", width = 28, bg = "dark turquoise", font = Small_Font, command = lambda: controller.show_frame(StudentManagement)) backButton.pack(side = "bottom", pady = 10, padx = 10) class ReportCard(tk.Frame): rollToSave = "" def __init__(self, parent, controller): tk.Frame.__init__(self, parent) label = tk.Label(self, text = "Report Card", font = Large_Font) label.pack(pady = 10, padx = 10) rollFrame = tk.Frame(self,bd= 0, relief = "raised", bg = "dark turquoise") rollFrame.place(x = 80, y = 40, width = 1300, height = 80) rollno = tk.Label(rollFrame, text = "Enter Rollno: ", font = Large_Font, bg = "dark turquoise") rollno.grid(row = 0, column= 0, padx = 50, pady = 20) rollnoEntry = tk.Entry(rollFrame, width = 30, font = Large_Font) rollnoEntry.grid(row = 0, column= 1, padx = 50, pady = 20) inputFrame1 = tk.Frame(self,bd= 0, relief = "raised", bg = "dark turquoise") inputFrame1.place(x = 40, y = 190, width = 600, height = 450) name1 = tk.Label(inputFrame1, text = "Name: ", font = Large_Font, bg = "dark turquoise") name1.grid(row = 0, column= 0, padx = 10, pady = 20) name2 = tk.Label(inputFrame1, text = "", font = Large_Font, bg = "dark turquoise") name2.grid(row = 0, column= 1, padx = 100, pady = 20) dept1 = tk.Label(inputFrame1, text = "Department: ", font = Large_Font, bg = "dark turquoise") dept1.grid(row = 1, column= 0, padx = 10, pady = 20) dept2 = tk.Label(inputFrame1, text = "", font = Large_Font, bg = "dark turquoise") dept2.grid(row = 1, column= 1, padx = 100, pady = 20) roll1 = tk.Label(inputFrame1, text = "Roll No.: ", font = Large_Font, bg = "dark turquoise") roll1.grid(row = 2, column= 0, padx = 10, pady = 20) roll2 = tk.Label(inputFrame1, text = "", font = Large_Font, bg = "dark turquoise") roll2.grid(row = 2, column= 1, padx = 100, pady = 20) year1 = tk.Label(inputFrame1, text = "Year: ", font = Large_Font, bg = "dark turquoise") year1.grid(row = 3, column= 0, padx = 10, pady = 20) year2 = tk.Label(inputFrame1, text = "", font = Large_Font, bg = "dark turquoise") year2.grid(row = 3, column= 1, padx = 100, pady = 20) Sem1 = tk.Label(inputFrame1, text = "Semester: ", font = Large_Font, bg = "dark turquoise") Sem1.grid(row = 4, column= 0, padx = 10, pady = 20) Sem2 = tk.Label(inputFrame1, text = "", font = Large_Font, bg = "dark turquoise") Sem2.grid(row = 4, column= 1, padx = 10, pady = 20) hostel1 = tk.Label(inputFrame1, text = "Hostel: ", font = Large_Font, bg = "dark turquoise") hostel1.grid(row = 5, column= 0, padx = 10, pady = 20) hostel2 = tk.Label(inputFrame1, text = "", font = Large_Font, bg = "dark turquoise") hostel2.grid(row = 5, column= 1, padx = 100, pady = 20) inputFrame2 = tk.Frame(self,bd= 0, relief = "raised", bg = "dark turquoise") inputFrame2.place(x = 820, y = 190, width = 600, height = 410) course1 = tk.Label(inputFrame2, text = "", font = Large_Font, bg = "dark turquoise") course1.grid(row = 0, column= 0, padx = 10, pady = 15, sticky = "w") course2 = tk.Label(inputFrame2, text = "", font = Large_Font, bg = "dark turquoise") course2.grid(row = 1, column= 0, padx = 10, pady = 15, sticky = "w") course3 = tk.Label(inputFrame2, text = "", font = Large_Font, bg = "dark turquoise") course3.grid(row = 2, column= 0, padx = 10, pady = 15, sticky = "w") course4 = tk.Label(inputFrame2, text = "", font = Large_Font, bg = "dark turquoise") course4.grid(row = 3, column= 0, padx = 10, pady = 15, sticky = "w") course5 = tk.Label(inputFrame2, text = "", font = Large_Font, bg = "dark turquoise") course5.grid(row = 4, column= 0, padx = 10, pady = 15, sticky = "w") course6 = tk.Label(inputFrame2, text = "", font = Large_Font, bg = "dark turquoise") course6.grid(row = 5, column= 0, padx = 10, pady = 15, sticky = "w") def savePDF(): rollno = self.rollToSave outputList = search("Databases\\student","roll number",rollno) marksList = search("Databases\\studentMarks", "roll number", rollno) a = Admin() details = { "name" : str(outputList[0]), "department" : str(outputList[1]), "roll number": str(rollno), "year": str(outputList[2]), "hostel": str(outputList[3]), "course1" : str(outputList[4]), "course2" : str(outputList[5]), "course3" : str(outputList[6]), "course4" : str(outputList[7]), "course5" : str(outputList[8]), "course6" : str(outputList[9]), "marks1" : str(marksList[2]), "marks2" : str(marksList[3]), "marks3" : str(marksList[4]), "marks4" : str(marksList[5]), "marks5" : str(marksList[6]), "marks6" : str(marksList[7]), "semester" : str(a.semester) } create_pdf(details) saveButtonFrame = tk.Frame(self, bd = 0, relief = "raised", bg = "dark turquoise") saveButtonFrame.place(x = 820, y = 600, width = 600, height = 40) saveButton = tk.Button(saveButtonFrame, text = "Save PDF", width = 20, bg = "dark turquoise", font = Small_Font, command = savePDF) saveButton.pack(side = "right", padx = 5) def updateLabels(rollno): self.rollToSave = rollno outputList = search("Databases\\student","roll number",rollno) marksList = search("Databases\\studentMarks", "roll number", rollno) name2.config(text = str(outputList[0])) dept2.config(text = str(outputList[1])) roll2.config(text = str(rollno)) year2.config(text = str(outputList[2])) a = Admin() Sem2.config(text = str(a.semester)) hostel2.config(text = str(outputList[3])) course1.config(text = str(outputList[4]) + ": " + str(marksList[2])) course2.config(text = str(outputList[5]) + ": " + str(marksList[3])) course3.config(text = str(outputList[6]) + ": " + str(marksList[4])) course4.config(text = str(outputList[7]) + ": " + str(marksList[5])) course5.config(text = str(outputList[8]) + ": " + str(marksList[6])) course6.config(text = str(outputList[9]) + ": " + str(marksList[7])) showButton = tk.Button(rollFrame, text = "Show Marks", width = 28, bg = "dark turquoise", font = Large_Font, command = lambda: [updateLabels(rollnoEntry.get()),rollnoEntry.delete(0, tk.END)]) showButton.grid(row = 0, column= 2, padx = 50, pady = 20) #####Back Button############## backButton = tk.Button(self, text = "Back To Student Management", width = 28, bg = "dark turquoise", font = Small_Font, command = lambda: controller.show_frame(StudentManagement)) backButton.pack(side = "bottom", pady = 10, padx = 10) class StaffManagement(tk.Frame): outputList = "None" def __init__(self, parent, controller): self.s = Staff() tk.Frame.__init__(self, parent) label = tk.Label(self, text = "Staff Management Page", font = Large_Font) label.pack(pady = 10, padx = 10) #####Instructions Frame#### insFrame = tk.Frame(self,bd= 0, relief = "raised", bg = "dark turquoise") insFrame.place(x = 0, y = 50, width = 1480, height = 70) ins1 = tk.Label(insFrame, text = "1. To add a staff, enter input in all the fields and click Add.", font = Small_Font, bg = "dark turquoise") ins1.grid(row = 0, column = 0, sticky = "w", padx = 5, pady = 5) ins2 = tk.Label(insFrame, text = "2. To modify a staff, enter the college ID in the input field in left frame and enter those details which are needed to be changed and click modify.", font = Small_Font, bg = "dark turquoise") ins2.grid(row = 1, column = 0, sticky = "w", padx = 5, pady = 5) #####Input Frame########### inputFrame = tk.Frame(self,bd= 0, relief = "raised", bg = "dark turquoise") inputFrame.place(x = 40, y = 150, width = 600, height = 450) name = tk.Label(inputFrame, text = "Name: ", font = Large_Font, bg = "dark turquoise") name.grid(row = 0, column= 0, padx = 10, pady = 10) nameEntry = tk.Entry(inputFrame, width = 25, font = Large_Font) nameEntry.grid(row = 0, column= 1, padx = 10, pady = 10) dept = tk.Label(inputFrame, text = "Department: ", font = Large_Font, bg = "dark turquoise") dept.grid(row = 1, column= 0, padx = 10, pady = 10) deptEntry = ttk.Combobox(inputFrame, width = 24, font = Large_Font) deptEntry["values"] = ( "CSE", "ECE", "BS" ) deptEntry.grid(row = 1, column= 1, padx = 10, pady = 5) collegeId = tk.Label(inputFrame, text = "CollegeID.: ", font = Large_Font, bg = "dark turquoise") collegeId.grid(row = 2, column= 0, padx = 10, pady = 10) collegeIdEntry = tk.Entry(inputFrame, width = 25, font = Large_Font) collegeIdEntry.grid(row = 2, column= 1, padx = 10, pady = 10) email = tk.Label(inputFrame, text = "E-mail: ", font = Large_Font, bg = "dark turquoise") email.grid(row = 3, column= 0, padx = 10, pady = 10) emailEntry = tk.Entry(inputFrame, width = 25, font = Large_Font) emailEntry.grid(row = 3, column= 1, padx = 10, pady = 10) lastCollege = tk.Label(inputFrame, text = "Last College: ", font = Large_Font, bg = "dark turquoise") lastCollege.grid(row = 4, column= 0, padx = 10, pady = 10) lastCollegeEntry = tk.Entry(inputFrame, width = 25, font = Large_Font) lastCollegeEntry.grid(row = 4, column= 1, padx = 10, pady = 10) gender = tk.Label(inputFrame, text = "Gender: ", font = Large_Font, bg = "dark turquoise") gender.grid(row = 5, column= 0, padx = 10, pady = 10) genderEntry = ttk.Combobox(inputFrame, width = 24, font = Large_Font) genderEntry["values"] = ( "Male", "Female", "Other" ) genderEntry.grid(row = 5, column= 1, padx = 10, pady = 5) address = tk.Label(inputFrame, text = "Address: ", font = Large_Font, bg = "dark turquoise") address.grid(row = 6, column= 0, padx = 10, pady = 10) addressEntry = tk.Entry(inputFrame, width = 40, font = Small_Font) addressEntry.grid(row = 6, column = 1, padx = 10, pady = 5) def getInput(): Sname = nameEntry.get() ScollegeId = collegeIdEntry.get() Sdept = deptEntry.get() Semail = emailEntry.get() SlastCollege = lastCollegeEntry.get() Sgender = genderEntry.get() Saddress = addressEntry.get() Slist = [Sname, ScollegeId, Sdept, Semail, SlastCollege, Sgender, Saddress] return Slist def deleteEntryFields(): nameEntry.delete(0, tk.END) collegeIdEntry.delete(0, tk.END) deptEntry.delete(0, tk.END) emailEntry.delete(0, tk.END) lastCollegeEntry.delete(0, tk.END) genderEntry.delete(0,tk.END) addressEntry.delete(0,tk.END) def addStaff(): checkList = search("Databases\\staff","roll number",collegeIdEntry.get()) if checkList[0] == "Not Available": entryList = getInput() if "" in entryList: messagebox.showwarning("Warning!!!", "No Entry field should remain empty!!!") else: self.s.add_staff(entryList) deleteEntryFields() else: messagebox.showwarning("Warning!!!", "The College ID already exists") def modifyStaff(): checkList = search("Databases\\staff","roll number",collegeIdEntry.get()) if collegeIdEntry.get() == "": messagebox.showwarning("Warning!!!", "Please Enter the College ID to modify!!") elif checkList[0] == "Not Available": messagebox.showwarning("Warning!!!", "The College ID does not exist!\n Add it first") else: self.s.modify_staff(getInput()) deleteEntryFields() viewButtonFrame1 = tk.Frame(self,bd= 0, relief = "raised", bg = "dark turquoise") viewButtonFrame1.place(x = 40, y = 600, width = 600, height = 70) addButton = tk.Button(viewButtonFrame1, text = "Add", font = Large_Font, width = 15, bg = "dark turquoise", command = lambda: addStaff()) addButton.grid(row = 0, column = 1, padx = 47, pady = 10) modifyButton = tk.Button(viewButtonFrame1, text = "Modify", font = Large_Font, width = 15, bg = "dark turquoise", command = lambda: modifyStaff()) modifyButton.grid(row = 0, column = 2, padx = 47, pady = 10) #####View Frame############### viewFrame = tk.Frame(self,bd= 0, relief = "raised", bg = "dark turquoise") viewFrame.place(x = 740, y = 200, width = 700, height = 350) def searchDetails(collegeId): self.outputList = search("Databases\\staff","roll number",collegeId) nameV1 = tk.Label(viewFrame, text = "Name: ", font = Large_Font, bg = "dark turquoise") nameV1.grid(row = 1, column= 0, padx = 10, pady = 6) nameV2 = tk.Label(viewFrame, text = "", font = Large_Font, bg = "dark turquoise") nameV2.grid(row = 1, column= 1, padx = 10, pady = 6) deptV1 = tk.Label(viewFrame, text = "Department: ", font = Large_Font, bg = "dark turquoise") deptV1.grid(row = 2, column= 0, padx = 10, pady = 6) deptV2 = tk.Label(viewFrame, text = "", font = Large_Font, bg = "dark turquoise") deptV2.grid(row = 2, column= 1, padx = 10, pady = 6) collegeIdV1 = tk.Label(viewFrame, text = "College ID: ", font = Large_Font, bg = "dark turquoise") collegeIdV1.grid(row = 3, column= 0, padx = 10, pady = 6) collegeIdV2 = tk.Label(viewFrame, text = "", font = Large_Font, bg = "dark turquoise") collegeIdV2.grid(row = 3, column= 1, padx = 10, pady = 6) emailV1 = tk.Label(viewFrame, text = "E-mail: ", font = Large_Font, bg = "dark turquoise") emailV1.grid(row = 4, column= 0, padx = 10, pady = 6) emailV2 = tk.Label(viewFrame, text = "", font = Large_Font, bg = "dark turquoise") emailV2.grid(row = 4, column= 1, padx = 10, pady = 6) lastCollegeV1 = tk.Label(viewFrame, text = "Last College: ", font = Large_Font, bg = "dark turquoise") lastCollegeV1.grid(row = 5, column= 0, padx = 10, pady = 6) lastCollegeV2 = tk.Label(viewFrame, text = "", font = Large_Font, bg = "dark turquoise") lastCollegeV2.grid(row = 5, column= 1, padx = 10, pady = 6) genderV1 = tk.Label(viewFrame, text = "Gender: ", font = Large_Font, bg = "dark turquoise") genderV1.grid(row = 6, column= 0, padx = 10, pady = 6) genderV2 = tk.Label(viewFrame, text = "", font = Large_Font, bg = "dark turquoise") genderV2.grid(row = 6, column= 1, padx = 10, pady = 6) addressV1 = tk.Label(viewFrame, text = "Address: ", font = Large_Font, bg = "dark turquoise") addressV1.grid(row = 7, column= 0, padx = 10, pady = 6) addressV2 = tk.Label(viewFrame, text = "", font = Large_Font, bg = "dark turquoise") addressV2.grid(row = 7, column= 1, padx = 10, pady = 6) def updateLabels(collegeId): nameV2.config(text = str(self.outputList[0])) deptV2.config(text = str(self.outputList[1])) collegeIdV2.config(text = str(collegeId)) emailV2.config(text = str(self.outputList[2])) lastCollegeV2.config(text = str(self.outputList[3])) genderV2.config(text = str(self.outputList[4])) addressV2.config(text = str(self.outputList[5])) searchFrame = tk.Frame(self,bd= 0, relief = "raised", bg = "dark turquoise") searchFrame.place(x = 740, y = 150, width = 700, height = 50) printquery = tk.Label(searchFrame, text = "Enter a College ID to search: " , font = Small_Font, bg = "dark turquoise") printquery.grid(row = 0, column= 0, padx = 5, pady = 10) collegeIDEntry = tk.Entry(searchFrame, width = 20) collegeIDEntry.grid(row = 0, column= 1, padx = 5, pady = 10) def searchButtonCall(): if collegeIDEntry.get() == "": messagebox.showwarning("Warning!!!", "Please enter the College ID before pressing search!!!") else: searchDetails(collegeIDEntry.get()) updateLabels(collegeIDEntry.get()) def getIDCall(): if collegeIDEntry.get() == "": messagebox.showwarning("Warning!!!", "Please enter the College ID before pressing search!!!") else: searchDetails(collegeIDEntry.get()) detailsToId = { 'name' : str(self.outputList[0]), 'department' : str(self.outputList[1]), 'roll number' : str(collegeIDEntry.get()), 'email' : str(self.outputList[2]), 'last college' : str(self.outputList[3]), 'gender' : str(self.outputList[4]), 'address' : str(self.outputList[5]) } idGenerator(detailsToId) searchButton = tk.Button(searchFrame, text = " Search ", width = 12, bg = "dark turquoise", font = Small_Font, command = lambda: searchButtonCall()) searchButton.grid(row = 0, column= 2, padx = 5, pady = 10) getIdButton = tk.Button(searchFrame, text = "Get ID", width = 12, bg = "dark turquoise", font = Small_Font, command = lambda: getIDCall()) getIdButton.grid(row = 0, column= 3, padx = 5, pady = 10) def deleteButtonCall(): if collegeIDEntry.get() == "": messagebox.showwarning("Warning!!!", "Please enter the College ID and search before deleting!!!") else: deleteRecord("Databases\\staff", collegeIDEntry.get()) searchDetails(collegeIDEntry.get()) updateLabels(collegeIDEntry.get()) collegeIDEntry.delete(0, tk.END) viewButtonFrame2 = tk.Frame(self,bd= 0, relief = "raised", bg = "dark turquoise") viewButtonFrame2.place(x = 740, y = 550, width = 700, height = 70) deleteButton = tk.Button(viewButtonFrame2, text = "Delete", font = Large_Font, bg = "dark turquoise", width = 15, command = lambda: deleteButtonCall()) deleteButton.grid(row = 0, column = 1, padx = 70, pady = 10) viewAllButton = tk.Button(viewButtonFrame2, text = "View All", font = Large_Font, bg = "dark turquoise", width = 15, command = lambda: controller.show_frame(ViewAllStaff)) viewAllButton.grid(row = 0, column = 2, padx = 70, pady = 10) #####Back Button############## backButton = tk.Button(self, text = "Back To Home", width = 28, bg = "dark turquoise", font = Small_Font, command = lambda: controller.show_frame(HomePage)) backButton.pack(side = "bottom", pady = 10, padx = 10) class ViewAllStaff(tk.Frame): def __init__(self, parent, controller): self.s = Student() tk.Frame.__init__(self, parent) label = tk.Label(self, text = "View All Details", font = Large_Font) label.pack(pady = 10, padx = 10) viewAllFrame = tk.Frame(self,bd= 0, relief = "raised", bg = "dark turquoise") viewAllFrame.place(x = 250, y = 100, width = 1000, height = 580) scrollbar1 = tk.Scrollbar(viewAllFrame) scrollbar2 = tk.Scrollbar(viewAllFrame, orient = "horizontal") scrollbar1.pack(side = "right", fill = 'y') scrollbar2.pack(side = "bottom", fill = 'x') totalEntries, details = get_details("Databases\\staff") detailsList = tk.Listbox(viewAllFrame, yscrollcommand = scrollbar1.set, xscrollcommand = scrollbar2.set, bg = "dark turquoise", width = 900, font = Small_Font) def refreshPage(): detailsList.delete(0, tk.END) totalEntries, details = get_details("Databases\\staff") for i in range(1, totalEntries+1): detailsList.insert(tk.END, f"{i}. Name: {details[i][0]} Dept: {details[i][1]} College ID: {details[i][2]} E-mail: {details[i][3]} Last College: {details[i][4]} Gender: {details[i][5]} Address: {details[i][6]}") detailsList.insert(tk.END, " ") for i in range(1, totalEntries+1): detailsList.insert(tk.END, f"{i}. Name: {details[i][0]} Dept: {details[i][1]} College ID: {details[i][2]} E-mail: {details[i][3]} Last College: {details[i][4]} Gender: {details[i][5]} Address: {details[i][6]}") detailsList.insert(tk.END, " ") detailsList.pack(side = "right", fill = "both") scrollbar1.config(command = detailsList.yview) scrollbar2.config(command = detailsList.xview) viewButtonFrame = tk.Frame(self,bd= 0, relief = "raised") viewButtonFrame.place(x = 250, y = 50, width = 1000, height = 50) refreshButton = tk.Button(viewButtonFrame, text = "Refresh", width = 28, bg = "dark turquoise", font = Small_Font, command = refreshPage) refreshButton.pack(side = "top", pady = 10, padx = 10, anchor = "ne") #####Back Button############## backButton = tk.Button(self, text = "Back To Staff Management", width = 28, bg = "dark turquoise", font = Small_Font, command = lambda: controller.show_frame(StaffManagement)) backButton.pack(side = "bottom", pady = 10, padx = 10) app = MainApp() app.mainloop()
[ "noreply@github.com" ]
04akvs.noreply@github.com
633b4ae0d74db6f460e68902ab432337f47d6022
1aa6413c7cef4b3fad47b4fb1c103476a524b602
/Practica1/Practica1_QuintoDesafio.py
1ac21c5ebd01a0af4a63da4ffe7d94693503915b
[]
no_license
ramiroangelb/ejemplo_python
ea776299faa93d0b5f3b4583d3cea4dbe5b5c2b7
892fdef05d5ff4ef19d09eca3963fa9b3d19a708
refs/heads/master
2023-06-04T17:55:59.642444
2021-06-21T06:27:22
2021-06-21T06:27:22
349,540,845
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
cadena1 = input("Ingrese la cadena 1: ") cadena2 = input("Ingrese la cadena 2: ") if len(cadena1) > len(cadena2): print("La cadena más larga es: " + cadena1) elif len(cadena1) < len(cadena2): print("La cadena más larga es: " + cadena2) else: print("Las cadenas son iguales")
[ "ramiroangelb@gmail.com" ]
ramiroangelb@gmail.com
8b95138960f6def79b15b711b1eeb02af18c5753
ba1eca8bb4c8e9bc3181397183fe2f97ed77d8db
/cog/info.py
d054b4c53ff6ba2e46d1923e3766f580ad4f380b
[]
no_license
yuyukoBot/main
3a092efc20f426d8cf751542a35f08f84caa988d
46c6f0d3a57537064be4d07268491b037f49f75a
refs/heads/main
2023-07-12T19:38:17.236887
2021-08-20T17:09:23
2021-08-20T17:09:23
339,734,306
0
0
null
null
null
null
UTF-8
Python
false
false
41,991
py
import discord,asyncio from discord.ext import commands import platform from collections import Counter from utils.language import get_lan import psutil import sqlite3,random from typing import Union from utils.server_language import get_lan_server import time, struct,subprocess class information(commands.Cog) : def __init__ (self, bot) : self.bot = bot self.bot.color = 0x5d00ff @staticmethod def _getRoles(roles): string = '' for role in roles[::-1]: if not role.is_default(): string += f'{role.mention}, ' if string == '': return 'None' else: return string[:-2] @staticmethod def _getEmojis(emojis): string = '' for emoji in emojis: string += str(emoji) if string == '': return 'None' else: return string[:1000] @commands.command() async def debug(self, ctx): mem = psutil.virtual_memory() allmem = str(mem.total / 1000000000)[0:3] used = str(mem.used / 1000000000)[0:3] ava = str(mem.available / 1000000000)[0:3] memparcent = mem.percent pythonVersion = platform.python_version() dpyVersion = discord.__version__ e = discord.Embed(title=get_lan(ctx.author.id,"about_status"), url="https://cdn.discordapp.com/avatars/757807145264611378/f6e2d7ff1f8092409983a77952670eae.png?size=1024", color=self.bot.color) e.add_field(name=get_lan(ctx.author.id,"Processor"), value="Intel(R) Core(TM) i7 CPU") e.add_field(name=get_lan(ctx.author.id,"discord.py_version"), value=dpyVersion) e.add_field(name=get_lan(ctx.author.id,"python_version"), value=pythonVersion) e.add_field(name="OS", value=f"```{platform.system()} {platform.release()}({platform.version()})```") e.add_field( name=get_lan(ctx.author.id,"memory"), value=f"```{get_lan(ctx.author.id,'all_memory')}:{allmem}GB\n{get_lan(ctx.author.id,'use_amount')}:{used}GB({memparcent}%)\n{get_lan(ctx.author.id,'empty_use')}{ava}GB({100 - memparcent}%)```") await ctx.send(embed=e) @commands.command() async def about(self,ctx): pythonVersion = platform.python_version() dpyVersion = discord.__version__ channels = str(len(set(self.bot.get_all_channels()))) total_members = [x.id for x in self.bot.get_all_members()] unique_members = set(total_members) if len(total_members) == len(unique_members): member_count = "{:,}".format(len(total_members)) else: member_count = "{:,} ({:,} unique)".format(len(total_members), len(unique_members)) guild_count = "{:,}".format(len(self.bot.guilds)) cog_amnt = 0 empty_cog = 0 for cog in self.bot.cogs: visible = [] for c in self.bot.get_cog(cog).get_commands(): if c.hidden: continue visible.append(c) if not len(visible): empty_cog += 1 # Skip empty cogs continue cog_amnt += 1 cog_count = "{:,} cog".format(cog_amnt) # Easy way to append "s" if needed: if not len(self.bot.cogs) == 1: cog_count += "s" if empty_cog: cog_count += " [{:,} without commands]".format(empty_cog) visible = [] for command in self.bot.commands: if command.hidden: continue visible.append(command) command_count = "{:,}".format(len(visible)) e = discord.Embed(title=get_lan(ctx.author.id,"bot_name"), url="https://cdn.discordapp.com/avatars/757807145264611378/f6e2d7ff1f8092409983a77952670eae.png?size=1024", color=0x5d00ff ) e.add_field(name=get_lan(ctx.author.id,"bot_servers"),value=guild_count) e.add_field(name=get_lan(ctx.author.id,"bot_users"),value=member_count) e.add_field(name=get_lan(ctx.author.id,"about_bot_command"),value=command_count + " (in {})".format(cog_count)) e.set_thumbnail( url="https://cdn.discordapp.com/avatars/757807145264611378/f6e2d7ff1f8092409983a77952670eae.png?size=1024") e.add_field(name=get_lan(ctx.author.id,"about_channel_count"),value=channels) e.add_field(name=get_lan(ctx.author.id,"discord.py_version"),value=dpyVersion) e.add_field(name=get_lan(ctx.author.id,"python_version"),value=pythonVersion) e.add_field(name=get_lan(ctx.author.id,"about_invite"), value="https://discord.com/api/oauth2/authorize?client_id=757807145264611378&permissions=0&scope=bot") await ctx.send(embed=e) @commands.cooldown(1, 86400, commands.BucketType.user) @commands.command(name="userinfo", aliases=["ui"], description="ユーザーの情報") async def userinfo(self, ctx, *, user: Union[discord.Member, discord.User,] = None): user = user or ctx.author e = discord.Embed(color=0xb300ff) roles = [r.mention for r in user.roles] e.set_author(name=get_lan(ctx.author.id,"ui_about")) badges = { "staff": "<:staff:836951948745900063>", "partner": "<:partner:836950588536127508>", "hypesquad": "<:hypesquadevents:724328584789098639>", "hypesquad_balance": "<:balance:855966162483281940>", "hypesquad_bravery": "<:bravery:855966487956684821>", "hypesquad_brilliance": "<:brilince:855966748250341396>", "premium_since": "test", "bug_hunter": "<:bughunt:724588087052861531>", "bug_hunter_level_2": "<:bug2:699986097694048327>", "verified_bot_developer": "<:verifed:836952740818976770>", "early_supporter": "<:earlysupporter:724588086646014034>", } flags = [ flag for flag, value in dict(user.public_flags).items() if value is True ] flagstr = "" for badge in badges.keys(): if badge in flags: flagstr += f" {badges[badge]} " n = False if n: flagstr += f" <:nitro:724328585418113134>" if len(flagstr) != 0: e.add_field(name="Badges", value=flagstr) db = sqlite3.connect("main.db") cursor = db.cursor() cursor.execute( f"SELECT userid, eval FROM eval WHERE userid = '{user.id}'") result = cursor.fetchone() if result is None: sql = ( "INSERT INTO eval(userid, eval) VALUES(?, ?)") val = (str(user.id), 10) cursor.execute(sql, val) db.commit() return evals = 1 for value in cursor: if eval < value[0]: evals += 1 evalss = int(result[1]) since_created = (ctx.message.created_at - user.created_at).days since_joined = (ctx.message.created_at - user.joined_at).days user_created = user.created_at.strftime("%d %b %Y %H:%M") user_joined = user.joined_at.strftime("%d %b %Y %H:%M") created_at = f"{user_created}\n({since_created} days ago)" joined_at = f"{user_joined}\n({since_joined} days ago)" e.add_field(name="ユーザー名", value=f"{user}({user.id})", inline=True) voice = getattr(user, 'voice', None) if voice is not None: vc = voice.channel other_people = len(vc.members) - 1 voice = f'{vc.name} with {other_people} others' if other_people else f'{vc.name} by themselves' e.add_field(name=get_lan(ctx.author.id,"ui_voice"), value=voice, inline=True) else: e.add_field(name=get_lan(ctx.author.id,"ui_voice"), value=get_lan(ctx.author.id,"ui_not_voice")) if user.id in [478126443168006164]: # owner e.add_field(name=get_lan(ctx.author.id,"ui_perm"), value=get_lan(ctx.author.id,"ui_owner")) elif user.id in [602680118519005184, 385746925040828418]: e.add_field(name=get_lan(ctx.author.id,"ui_perm"), value=get_lan(ctx.author.id,"ui_admin")) # subowner else: e.add_field(name=get_lan(ctx.author.id,"ui_perm"), value=get_lan(ctx.author.id,"ui_ippan")) if user.bot: e.add_field(name=get_lan(ctx.author.id,"ui_bot"), value=get_lan(ctx.author.id,"ui_bot_yes")) else: e.add_field(name=get_lan(ctx.author.id,"ui_bot"), value=get_lan(ctx.author.id,"ui_bot_no")) e.add_field(name="ユーザー評価値", value=evalss) if str(user.status) == "online": e.add_field(name=get_lan(ctx.author.id,"ui_status"), value='<:online:855965213156311091> ') elif str(user.status) == "offline": e.add_field(name=get_lan(ctx.author.id,"ui_status"), value='<:offline:855965198221180968>') elif str(user.status) == "idle": e.add_field(name=get_lan(ctx.author.id,"ui_status"), value='<:afk:855965231740878878>') elif str(user.status) == "dnd": e.add_field(name=get_lan(ctx.author.id,"ui_status"), value='<:dnd:855965222640156682> ') if user.mobile_status: e.add_field(name=get_lan(ctx.author.id,"ui_use_mobile"), value=':mobile_phone:') elif user.desktop_status: e.add_field(name=get_lan(ctx.author.id,"ui_use_desktop"), value=':desktop:') elif user.web_status: e.add_field(name=get_lan(ctx.author.id,"ui_use_web"), value=':computer:') if user.activity is not None: try: if user.activity.type == discord.ActivityType.custom: e.add_field(name=get_lan(ctx.author.id,"ui_playing"), value=user.activity) else: e.add_field(name=get_lan(ctx.author.id,"ui_playing"), value=f'{user.activity.name}') except: e.add_field(name=get_lan(ctx.author.id,"ui_playing"), value=user.activity) e.add_field(name=get_lan(ctx.author.id,"ui_display"), value=user.display_name) if bool(user.premium_since): e.add_field(name=get_lan(ctx.author.id,"ui_boost"), value=get_lan(ctx.author.id,"ui_boost_yes")) else: e.add_field(name=get_lan(ctx.author.id,"ui_boost"), value=get_lan(ctx.author.id,"ui_boost_no")) e.add_field(name=get_lan(ctx.author.id,"ui_join_discord"), value=created_at, inline=True) e.add_field(name=get_lan(ctx.author.id,"ui_join_server"), value=joined_at, inline=True) e.add_field(name=get_lan(ctx.author.id,"ui_high_role"), value=user.top_role.mention) if roles: e.add_field(name=f"Roles({len(roles)})", value=', '.join(roles) if len(roles) < 40 else f'{len(roles)} roles', inline=False) e.add_field(name=get_lan(ctx.author.id,"ui_avatar"), value=user.avatar_url, inline=False) if user.avatar: e.set_thumbnail(url=user.avatar_url) if isinstance(user, discord.User): e.set_footer(text=get_lan(ctx.author.id,"ui_isnot")) role_permission = user.guild_permissions server_permission = { 'administrator': get_lan(ctx.author.id,"ui_administrator"), 'read_messages': get_lan(ctx.author.id,"ui_read_messages"), 'manage_channels': get_lan(ctx.author.id,"ui_manage_channels"), 'manage_roles': get_lan(ctx.author.id,"ui_manage_roles"), 'manage_emojis': get_lan(ctx.author.id,"ui_manage_emojis"), 'view_audit_log': get_lan(ctx.author.id,"ui_view_audit_log"), 'view_guild_insights': get_lan(ctx.author.id,"ui_view_guild_insights"), 'manage_webhooks': get_lan(ctx.author.id,"ui_manage_webhook"), 'manage_guild': get_lan(ctx.author.id,"ui_manage_guild") } member_permission = { 'create_instant_invite': get_lan(ctx.author.id,"ui_create_instant_invite"), 'change_nickname': get_lan(ctx.author.id,"ui_change_nickname"), 'manage_nicknames': get_lan(ctx.author.id,"ui_manage_nicknames"), 'kick_members': get_lan(ctx.author.id,"ui_kick_members"), 'ban_members': get_lan(ctx.author.id,"ui_ban_members") } ch_permission = { 'send_messages': get_lan(ctx.author.id,"ui_send_messages"), 'embed_links': get_lan(ctx.author.id,"ui_embed_links"), 'attach_files': get_lan(ctx.author.id,"ui_attach_files"), 'add_reactions': get_lan(ctx.author.id,"ui_add_reactions"), 'external_emojis': get_lan(ctx.author.id,"ui_external_emojis"), 'mention_everyone': get_lan(ctx.author.id,"ui_mention_everyone"), 'manage_messages': get_lan(ctx.author.id,"ui_manage_messages"), 'read_message_history': get_lan(ctx.author.id,"ui_read_message_history"), 'send_tts_messages': get_lan(ctx.author.id,"ui_send_tts_message"), 'use_slash_commands': get_lan(ctx.author.id,"ui_use_slash_commands") } voice_permission = { 'connect': get_lan(ctx.author.id,"ui_connect"), 'speak': get_lan(ctx.author.id,"ui_speak"), 'stream': get_lan(ctx.author.id,"ui_stream"), 'use_voice_activation': get_lan(ctx.author.id,"ui_use_voice_activation"), 'priority_speaker': get_lan(ctx.author.id,"ui_priority_speaker"), 'mute_members': get_lan(ctx.author.id,"ui_mute_members"), 'deafen_members': get_lan(ctx.author.id,"ui_deafen_members"), 'move_members': get_lan(ctx.author.id,"ui_move_members"), 'request_to_speak': get_lan(ctx.author.id,"ui_request_to_speak") } s_perm_text = '' m_perm_text = '' c_perm_text = '' not_vperm_text = '' not_cperm_text = '' not_mperm_text = '' not_sperm_text = '' v_perm_text = '' user_permission_list = [] for rp in list(role_permission): if rp[1]: user_permission_list.append(rp[0]) for sp in list(server_permission): if sp in user_permission_list: s_perm_text += f"✅:{server_permission[sp]}" else: not_sperm_text += f"❌:{server_permission[sp]}" for sp in list(member_permission): if sp in user_permission_list: m_perm_text += f"✅:{member_permission[sp]}" else: not_mperm_text += f"❌:{member_permission[sp]}" for sp in list(ch_permission): if sp in user_permission_list: c_perm_text += f"✅:{ch_permission[sp]}" else: not_cperm_text += f"❌:{ch_permission[sp]}" for sp in list(voice_permission): if sp in user_permission_list: v_perm_text += f"✅:{voice_permission[sp]}" else: not_vperm_text += f"❌:{voice_permission[sp]}" e.add_field(name=get_lan(ctx.author.id,"ui_all_server"), value=f'`{s_perm_text}`,`{not_sperm_text}`') e.add_field(name=get_lan(ctx.author.id,"ui_perm_member"), value=f'`{m_perm_text}`,`{not_mperm_text}`') e.add_field(name=get_lan(ctx.author.id,"ui_perm_text"), value=f'`{c_perm_text}`,`{not_cperm_text}`') e.add_field(name=get_lan(ctx.author.id,"ui_perm_voice"), value=f'`{v_perm_text}`,`{not_vperm_text}`') shared = sum(g.get_member(user.id) is not None for g in self.bot.guilds) e.add_field(name="共通鯖数", value=shared) await ctx.send(embed=e) @commands.command() async def serverinfo(self,ctx,guild:discord.Guild=None): if guild is not None and await self.bot.is_owner(ctx.author): guild = self.bot.get_guild(guild) if guild is None: return await ctx.send(f'Invalid Guild ID given.') else: guild = ctx.guild if not guild.chunked: async with ctx.typing(): await guild.chunk(cache=True) everyone = guild.default_role everyone_perms = everyone.permissions.value secret = Counter() totals = Counter() for channel in guild.channels: allow, deny = channel.overwrites_for(everyone).pair() perms = discord.Permissions((everyone_perms & ~deny.value) | allow.value) channel_type = type(channel) totals[channel_type] += 1 if not perms.read_messages: secret[channel_type] += 1 elif isinstance(channel, discord.VoiceChannel) and (not perms.connect or not perms.speak): secret[channel_type] += 1 e = discord.Embed(title=get_lan(ctx.author.id,"si_about"),color=self.bot.color) e.add_field(name=get_lan(ctx.author.id,"si_name"),value=f'{guild.name}({guild.id})') e.add_field(name=get_lan(ctx.author.id,"si_owner"),value=f'{guild.owner}({guild.owner.id})') if guild.icon: e.set_thumbnail(url=guild.icon_url) bm = 0 ubm = 0 for m in guild.members: if m.bot: bm = bm + 1 else: ubm = ubm + 1 e.add_field(name=get_lan(ctx.author.id,"si_member"),value=f"{len(guild.members)}(<:bot:798877222638845952>:{bm}<:user:852849921262616607>{ubm})") e.add_field(name=get_lan(ctx.author.id,"si_channel"),value=f'{("<:categorie:798883839124308008>")}:{len(guild.categories)}\n{(":speech_balloon:")}:{len(guild.text_channels)}\n{(":mega:")}:{len(guild.voice_channels)}\n{(":pager:")}:{len(guild.stage_channels)}') e.add_field(name=get_lan(ctx.author.id,"si_emoji"),value=len(guild.emojis)) e.add_field(name=get_lan(ctx.author.id,"si_region"),value=str(guild.region)) if guild.verification_level == discord.VerificationLevel.none: e.add_field(name=get_lan(ctx.author.id,"si_verfiy"),value=get_lan(ctx.author.id,"si_verfiy_none")) elif guild.verification_level == discord.VerificationLevel.low: e.add_field(name=get_lan(ctx.author.id,"si_verfiy"),value=get_lan(ctx.author.id,"si_verfiy_1")) elif guild.verification_level == discord.VerificationLevel.medium: e.add_field(name=get_lan(ctx.author.id,"si_verfiy"),value=get_lan(ctx.author.id,"si_verfiy_2")) elif ctx.guild.verification_level == discord.VerificationLevel.high: e.add_field(name=get_lan(ctx.author.id, "si_verfiy"), value=get_lan(ctx.author.id, "si_verfiy_3")) elif ctx.guild.verification_level == discord.VerificationLevel.extreme: e.add_field(name=get_lan(ctx.author.id, "si_verfiy"), value=get_lan(ctx.author.id, "si_verfiy_4")) if ctx.guild.explicit_content_filter == discord.ContentFilter.disabled: e.add_field(name=get_lan(ctx.author.id,"si_filter"),value=get_lan(ctx.author.id,"si_filter_none")) elif ctx.guild.explicit_content_filter == discord.ContentFilter.no_role: e.add_field(name=get_lan(ctx.author.id, "si_filter"), value=get_lan(ctx.author.id, "si_filter_role")) elif ctx.guild.explicit_content_filter == discord.ContentFilter.all_members: e.add_field(name=get_lan(ctx.author.id, "si_filter"), value=get_lan(ctx.author.id, "si_filter_member")) if guild.afk_channel: e.add_field(name=get_lan(ctx.author.id,"si_afk"), value=f"{guild.afk_channel.name}({str(guild.afk_channel.id)})") e.add_field(name=get_lan(ctx.author.id,"si_afk_timeout"), value=str(guild.afk_timeout / 60)) else: e.add_field(name=get_lan(ctx.author.id,"si_afk"), value=get_lan(ctx.author.id,"si_afk_none")) if guild.system_channel: e.add_field(name=get_lan(ctx.author.id,"si_system_channel"), value=f"{guild.system_channel}\n({str(guild.system_channel.id)})") try: e.add_field(name=get_lan(ctx.author.id,"si_welcome_channel"), value=guild.system_channel_flags.join_notifications) e.add_field(name=get_lan(ctx.author.id,"si_boost_channel"), value=guild.system_channel_flags.premium_subscriptions) except: pass emojis = self._getEmojis(guild.emojis) e.add_field(name=get_lan_server(ctx.guild.id, "serverlang"), value=get_lan_server(ctx.guild.id,"server_lang")) e.add_field(name=get_lan(ctx.author.id,"si_custom_emoji"), value=emojis, inline=False) rlist = "@".join([i.name for i in guild.roles]) if len(rlist) <= 1000: e.add_field(name=get_lan(ctx.author.id,"si_roles"), value=rlist) e.add_field(name=get_lan(ctx.author.id,"si_features"), value=f"```{','.join(guild.features)}```") await ctx.send(embed=e) @commands.command() async def emojiinfo(self,ctx, *, emj: discord.Emoji = None): if emj is None: await ctx.send(get_lan(ctx.author.id,"ei_none")) else: e = discord.Embed(title=get_lan(ctx.author.id,"ei_about"),description=f"id:{emj.id}") if emj.animated: e.add_field(name=get_lan(ctx.author.id,"ei_animated"),value=get_lan(ctx.author.id,"ei_yes")) else: e.add_field(name=get_lan(ctx.author.id,"ei_animated"),value=get_lan(ctx.author.id,"ei_no")) if emj.available: e.add_field(name=get_lan(ctx.author.id, "ei_can_use"), value=get_lan(ctx.author.id, "ei_yes_use")) else: e.add_field(name=get_lan(ctx.author.id, "ei_can_use"), value=get_lan(ctx.author.id, "ei_no_use")) if emj.managed: e.add_field(name=get_lan(ctx.author.id, "ei_managed"), value=get_lan(ctx.author.id, "ei_yes")) else: e.add_field(name=get_lan(ctx.author.id, "ei_managed"), value=get_lan(ctx.author.id, "ei_no")) e.add_field(name="url", value=emj.url) e.set_thumbnail(url=emj.url) e.timestamp = emj.created_at await ctx.send(embed=e) @commands.command(name="roleinfo",aliases=["ri"]) async def roleinfo(self, ctx, *, role: commands.RoleConverter = None): if role is None: await ctx.send(get_lan(ctx.author.id,"ri_none")) elif role.guild == ctx.guild: e = discord.Embed(title=get_lan(ctx.author.id, "ri_about"), description=f"id:{role.id}", color=self.bot.color) if role.hoist: e.add_field(name=get_lan(ctx.author.id,"ri_hoist"),value=get_lan(ctx.author.id,"ri_yes")) else: e.add_field(name=get_lan(ctx.author.id, "ri_hoist"), value=get_lan(ctx.author.id, "ri_no")) if role.mentionable: e.add_field(name=get_lan(ctx.author.id,"ri_mention"),value=get_lan(ctx.author.id,"ri_yes")) else: e.add_field(name=get_lan(ctx.author.id, "ri_mention"), value=get_lan(ctx.author.id, "ri_no")) e.add_field(name=get_lan(ctx.author.id,"ri_members"), value=str(len(role.members))) e.add_field(name=get_lan(ctx.author.id,"ri_color"), value=str(role.color)) e.add_field(name=get_lan(ctx.author.id,"ri_create"), value=role.created_at.__format__('%x at %X')) e.add_field(name='メンバー [%s]' % len(role.members), value='%s Online' % sum(1 for m in role.members if m.status != discord.Status.offline), inline=True) hasmember = "" for m in role.members: hasmember = hasmember + f"{m.mention}," if not hasmember == "": if len(hasmember) <= 1024: e.add_field(name=get_lan(ctx.author.id,"ri_member"), value=hasmember) else: e.add_field(name=get_lan(ctx.author.id,"ri_member"), value=get_lan(ctx.author.id,"ri_too")) else: e.add_field(name=get_lan(ctx.author.id,"ri_member"), value=get_lan(ctx.author.id,"ri_none_membe")) role_permission = role.permissions server_permission = { 'administrator': get_lan(ctx.author.id, "ui_administrator"), 'read_messages': get_lan(ctx.author.id, "ui_read_messages"), 'manage_channels': get_lan(ctx.author.id, "ui_manage_channels"), 'manage_roles': get_lan(ctx.author.id, "ui_manage_roles"), 'manage_emojis': get_lan(ctx.author.id, "ui_manage_emojis"), 'view_audit_log': get_lan(ctx.author.id, "ui_view_audit_log"), 'view_guild_insights': get_lan(ctx.author.id, "ui_view_guild_insights"), 'manage_webhooks': get_lan(ctx.author.id, "ui_manage_webhook"), 'manage_guild': get_lan(ctx.author.id, "ui_manage_guild") } member_permission = { 'create_instant_invite': get_lan(ctx.author.id, "ui_create_instant_invite"), 'change_nickname': get_lan(ctx.author.id, "ui_change_nickname"), 'manage_nicknames': get_lan(ctx.author.id, "ui_manage_nicknames"), 'kick_members': get_lan(ctx.author.id, "ui_kick_members"), 'ban_members': get_lan(ctx.author.id, "ui_ban_members") } ch_permission = { 'send_messages': get_lan(ctx.author.id, "ui_send_messages"), 'embed_links': get_lan(ctx.author.id, "ui_embed_links"), 'attach_files': get_lan(ctx.author.id, "ui_attach_files"), 'add_reactions': get_lan(ctx.author.id, "ui_add_reactions"), 'external_emojis': get_lan(ctx.author.id, "ui_external_emojis"), 'mention_everyone': get_lan(ctx.author.id, "ui_mention_everyone"), 'manage_messages': get_lan(ctx.author.id, "ui_manage_messages"), 'read_message_history': get_lan(ctx.author.id, "ui_read_message_history"), 'send_tts_messages': get_lan(ctx.author.id, "ui_send_tts_message"), 'use_slash_commands': get_lan(ctx.author.id, "ui_use_slash_commands") } voice_permission = { 'connect': get_lan(ctx.author.id, "ui_connect"), 'speak': get_lan(ctx.author.id, "ui_speak"), 'stream': get_lan(ctx.author.id, "ui_stream"), 'use_voice_activation': get_lan(ctx.author.id, "ui_use_voice_activation"), 'priority_speaker': get_lan(ctx.author.id, "ui_priority_speaker"), 'mute_members': get_lan(ctx.author.id, "ui_mute_members"), 'deafen_members': get_lan(ctx.author.id, "ui_deafen_members"), 'move_members': get_lan(ctx.author.id, "ui_move_members"), 'request_to_speak': get_lan(ctx.author.id, "ui_request_to_speak") } s_perm_text = '' m_perm_text = '' c_perm_text = '' not_vperm_text = '' not_cperm_text = '' not_mperm_text = '' not_sperm_text = '' v_perm_text = '' user_permission_list = [] for rp in list(role_permission): if rp[1]: user_permission_list.append(rp[0]) for sp in list(server_permission): if sp in user_permission_list: s_perm_text += f"✅:{server_permission[sp]}" else: not_sperm_text += f"❌:{server_permission[sp]}" for sp in list(member_permission): if sp in user_permission_list: m_perm_text += f"✅:{member_permission[sp]}" else: not_mperm_text += f"❌:{member_permission[sp]}" for sp in list(ch_permission): if sp in user_permission_list: c_perm_text += f"✅:{ch_permission[sp]}" else: not_cperm_text += f"❌:{ch_permission[sp]}" for sp in list(voice_permission): if sp in user_permission_list: v_perm_text += f"✅:{voice_permission[sp]}" else: not_vperm_text += f"❌:{voice_permission[sp]}" e.add_field(name=get_lan(ctx.author.id, "ui_all_server"), value=f'`{s_perm_text}`,`{not_sperm_text}`') e.add_field(name=get_lan(ctx.author.id, "ui_perm_member"), value=f'`{m_perm_text}`,`{not_mperm_text}`') e.add_field(name=get_lan(ctx.author.id, "ui_perm_text"), value=f'`{c_perm_text}`,`{not_cperm_text}`') e.add_field(name=get_lan(ctx.author.id, "ui_perm_voice"), value=f'`{v_perm_text}`,`{not_vperm_text}`') await ctx.send(embed=e) @commands.command(name="avatar", description="ユーザーのアイコン") async def avatar(self, ctx, *, user: Union[discord.Member, discord.User] = None): """`誰でも`""" embed = discord.Embed(color=0x5d00ff) user = user or ctx.author avatar = user.avatar_url_as(static_format='png') embed.set_author(name=str(user), url=avatar) embed.set_image(url=avatar) await ctx.send(embed=embed) @commands.command() async def channelinfo(self,ctx,target=None): if target is None: target = ctx.channel else: try: target = await commands.TextChannelConverter().convert(ctx, target) except: try: target = await commands.VoiceChannelConverter().convert(ctx, target) except: try: target = await commands.CategoryChannelConverter().convert(ctx, target) except: try: target = self.bot.get_channel(int(target)) except: await ctx.send(get_lan(ctx.author.id,"ch_not_see")) return if not target.guild.id == ctx.guild.id: await ctx.send(get_lan(ctx.author.id,"ch_betu")) return if isinstance(target, discord.TextChannel): if target.is_news(): if "NEWS" in target.guild.features: e = discord.Embed(title=get_lan(ctx.author.id,"ch_about"),description=get_lan(ctx.author.id,"ch_type_ann"),color=self.bot.color) else: e = discord.Embed(title=get_lan(ctx.author.id,"ch_about"),description=get_lan(ctx.author.id,"ch_type_ann_no"),color=self.bot.color) else: e = discord.Embed(title=get_lan(ctx.author.id,"ch_about"),description=get_lan(ctx.author.id,"ch_type_text"),color=self.bot.color) e.add_field(name=get_lan(ctx.author.id,"ch_name"),value=f'{target.name}({target.id})') e.timestamp = target.created_at if target.category: e.add_field(name=get_lan(ctx.author.id,"ch_join_category"), value=f"{target.category.name}({target.category.id})") e.add_field(name=get_lan(ctx.author.id,"ch_topic"), value=target.topic or get_lan(ctx.author.id,"ch_topic_no")) if not target.slowmode_delay == 0: e.add_field(name=get_lan(ctx.author.id,"ch_slowmode"), value=f"{target.slowmode_delay}秒") if target.is_nsfw(): e.add_field(name=get_lan(ctx.author.id,"ch_nsfw"), value=get_lan(not ctx.author.id,"ch_yes")) else: e.add_field(name=get_lan(ctx.author.id,"ch_nsfw"), value=get_lan(not ctx.author.id,"ch_no")) mbs = "" for m in target.members: if len(mbs + f"`{m.name}`,") >= 1020: mbs = mbs + f"他" break else: mbs = mbs + f"`{m.name}`," if mbs != "": e.add_field(name=f"{get_lan(ctx.author.id, 'ri_member')}({len(target.members)}人)", value=mbs, inline=False) await ctx.send(embed=e) elif isinstance(target, discord.VoiceChannel): e = discord.Embed(name=get_lan(ctx.author.id,"ch_about"), description=get_lan(ctx.author.id,"ch_type_voice"),color=self.bot.color) e.timestamp = target.created_at e.add_field(name=get_lan(ctx.author.id, "ch_name"), value=f'{target.name}({target.id})') if target.category: e.add_field(name=get_lan(ctx.author.id, "ch_join_category"), value=f"{target.category.name}({target.category.id})") e.add_field(name=get_lan(ctx.author.id,"ch_bitrate"), value=f"{target.bitrate / 1000}Kbps") if not target.user_limit == 0: e.add_field(name=get_lan(ctx.author.id,"ch_limite"), value=f"{target.user_limit}人") e.add_field(name=get_lan(ctx.author.id,"ch_voice_region"),value=target.rtc_region) mbs = "" for m in target.members: if len(mbs + f"`{m.name}`,") >= 1020: mbs = mbs + f"他" break else: mbs = mbs + f"`{m.name}`," if mbs != "": e.add_field(name=f"{get_lan(ctx.author.id,'ri_member')}({len(target.members)}人)", value=mbs, inline=False) await ctx.send(embed=e) elif isinstance(target, discord.CategoryChannel): e = discord.Embed(name=get_lan(ctx.author.id,"ch_about"), description=get_lan(ctx.author.id,"ch_type_category"),color=self.bot.color) e.timestamp = target.created_at e.add_field(name=get_lan(ctx.author.id, "ch_name"), value=f'{target.name}({target.id})') if target.is_nsfw(): e.add_field(name=get_lan(ctx.author.id,"ch_nsfw"), value=get_lan(not ctx.author.id,"ch_yes")) else: e.add_field(name=get_lan(ctx.author.id,"ch_nsfw"), value=get_lan(not ctx.author.id,"ch_no")) mbs = "" for c in target.channels: if c.type is discord.ChannelType.news: if "NEWS" in target.guild.features: chtype = get_lan(ctx.author.id,"ch_ann") else: chtype = get_lan(ctx.author.id,"ch_ann_no") elif c.type is discord.ChannelType.store: chtype = get_lan(ctx.author.id,"ch_news_store") elif c.type is discord.ChannelType.voice: chtype = get_lan(ctx.author.id,"ch_news_voice") elif c.type is discord.ChannelType.text: chtype = get_lan(ctx.author.id,"ch_news_text") else: chtype = str(c.type) if len(mbs + f"`{c.name}({chtype})`,") >= 1020: mbs = mbs + f"他" break else: mbs = mbs + f"`{c.name}({chtype})`," if mbs != "": e.add_field(name=f"{get_lan(ctx.author.id,'ch_join_channel')}({len(target.channels)}チャンネル)", value=mbs, inline=False) await ctx.send(embed=e) elif isinstance(target, discord.StageChannel): e = discord.Embed(name=get_lan(ctx.author.id, "ch_about"), description=get_lan(ctx.author.id, "ch_type_category"), color=self.bot.color) e.add_field(name=get_lan(ctx.author.id, "ch_name"), value=f'{target.name}({target.id})') e.timestamp = target.created_at if target.category: e.add_field(name=get_lan(ctx.author.id, "ch_join_category"), value=f"{target.category.name}({target.category.id})") if not target.user_limit == 0: e.add_field(name=get_lan(ctx.author.id,"ch_limite"), value=f"{target.user_limit}人") mbs = "" for m in target.members: if len(mbs + f"`{m.name}`,") >= 1020: mbs = mbs + f"他" break else: mbs = mbs + f"`{m.name}`," if mbs != "": e.add_field(name=f"{get_lan(ctx.author.id,'ri_member')}({len(target.members)}人)", value=mbs, inline=False) await ctx.send(embed=e) @commands.command(name="messageinfo", aliases=["msg", "message"], description="メッセージの情報") async def messageinfo(self, ctx, target:discord.Message): """`誰でも`""" if target: fetch_from = "引数" msg = target else: if ctx.message.reference and ctx.message.type == discord.MessageType.default: if ctx.message.reference.cached_message: fetch_from = "返信" msg = ctx.message.reference.cached_message else: try: fetch_from = "返信" msg = await self.bot.get_channel(ctx.message.reference.channel_id).fetch_message( ctx.message.reference.message_id) except: fetch_from = "コマンド実行メッセージ" msg = ctx.message else: fetch_from = "コマンド実行メッセージ" msg = ctx.message e = discord.Embed(title=f"メッセージ{fetch_from}", descriptio=msg.system_content, color=0x5d00ff) e.set_author(name=f"{msg.author.display_name}({msg.author.id}){'[bot]' if msg.author.bot else ''}のメッセージ", icon_url=msg.author.avatar_url_as(static_format="png")) post_time = msg.created_at.strftime("%d/%m/%Y %H:%M:%S") if msg.edited_at: edit_time = msg.edited_at.strftime("%d/%m/%Y %H:%M:%S") else: edit_time = "なし" e.set_footer(text=f"メッセージ送信時間:{post_time}/最終編集時間:{edit_time}") e.add_field(name="メッサ",value=msg.content) e.add_field(name="メッセージ", value=str(msg.id)) e.add_field(name="システムメッセージ?", value=msg.is_system()) e.add_field(name="添付ファイル数", value=f"{len(msg.attachments)}個") e.add_field(name="埋め込み数", value=f"{len(msg.embeds)}個") if msg.guild.rules_channel and msg.channel_id == msg.guild.rules_channel.id: chtype = f"{msg.channel.name}({msg.channel.id}):ルールチャンネル" elif msg.channel.is_news(): chtype = f"{msg.Channel.name}({msg.channel.id}):アナウンスチャンネル" else: chtype = f"{msg.channel.name}({msg.channel.id}):テキストチャンネル" e.add_field(name="メッセージの送信チャンネル", value=chtype) if msg.reference: e.add_field(name="メッセージの返信等", value=f"返信元確認用:`{msg.reference.channel_id}-{msg.reference.message_id}`") e.add_field(name="メンションの内訳", value=f"全員宛メンション:{msg.mention_everyone}\nユーザーメンション:{len(msg.mentions)}個\n役職メンション:{len(msg.role_mentions)}個\nチャンネルメンション:{len(msg.channel_mentions)}個") if msg.webhook_id: e.add_field(name="webhook投稿", value=f"ID:{msg.webhook_id}") e.add_field(name="ピン留めされてるかどうか", value=str(msg.pinned)) if len(msg.reactions) != 0: e.add_field(name="リアクション", value=",".join({f"{r.emoji}:{r.count}" for r in msg.reactions})) e.add_field(name="メッセージフラグ", value=[i[0] for i in iter(msg.flags) if i[1]]) e.add_field(name="メッセージに飛ぶ", value=msg.jump_url) try: await ctx.replay(embed=e, mentions_author=False) except: await ctx.send(embed=e) @commands.command(name="dir", usage="dir member <ゆーざーid>", description="引数を選択した不和オブジェクトに変換します") async def get_object(self, ctx, object, arg, *, attr=None): """`誰でも`""" object = object.replace(" ", "").lower() objects = { "member": commands.MemberConverter(), "user": commands.UserConverter(), "message": commands.MessageConverter(), "text": commands.TextChannelConverter(), "voice": commands.VoiceChannelConverter(), "category": commands.CategoryChannelConverter(), "invite": commands.InviteConverter(), "role": commands.RoleConverter(), "game": commands.GameConverter(), "colour": commands.ColourConverter(), "color": commands.ColorConverter(), "emoji": commands.EmojiConverter(), "partial": commands.PartialEmojiConverter(), } if object not in objects: return await ctx.send( embed=discord.Embed( color=discord.Color.blurple(), description="```Could not find object```", ) ) try: obj = await objects[object].convert(ctx, arg) except commands.BadArgument: return await ctx.send( embed=discord.Embed( color=discord.Color.blurple(), description="```Conversion failed```" ) ) if attr: attributes = attr.split(".") try: for attribute in attributes: obj = getattr(obj, attribute) except AttributeError: return await ctx.send(f"{obj} has no attribute {attribute}") return await ctx.send(f"```{obj}\n\n{dir(obj)}```") await ctx.send(f"```{obj}\n\n{dir(obj)}```") def setup(bot): bot.add_cog(information(bot))
[ "butaokara1202@gmail.com" ]
butaokara1202@gmail.com
9aada7ffa4c35d680378a0d38aae50a69952de0c
cb2882bd79c4af7a145f0639a5c7f473b1d22456
/tutorials/auto_scheduler/tune_network_x86.py
8526abbbe6caafb3058012337f24f4792401da75
[ "Apache-2.0", "Zlib", "MIT", "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference", "Unlicense" ]
permissive
vinx13/tvm
8e37dd7735eeadc476596ba96f683a93f44a26c3
fe398bf206d01b54a2d74603e6bc9c012d63b2c9
refs/heads/master
2023-08-30T17:50:49.337568
2021-02-17T08:16:26
2021-02-17T08:16:26
141,384,391
4
0
Apache-2.0
2022-09-21T18:53:08
2018-07-18T05:16:49
Python
UTF-8
Python
false
false
14,204
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. """ Auto-scheduling a Neural Network for x86 CPU ============================================ **Author**: `Lianmin Zheng <https://github.com/merrymercy>`_ Auto-tuning for specific devices and workloads is critical for getting the best performance. This is a tutorial on how to tune a whole neural network for x86 CPU with the auto-scheduler. To auto-tune a neural network, we partition the network into small subgraphs and tune them independently. Each subgraph is treated as one search task. A task scheduler slices the time and dynamically allocates time resources to these tasks. The task scheduler predicts the impact of each task on the end-to-end execution time and prioritizes the one that can reduce the execution time the most. For each subgraph, we use the compute declaration in :code:`tvm/python/topi` to get the computational DAG in the tensor expression form. We then use the auto-scheduler to construct a search space of this DAG and search for good schedules (low-level optimizations). Different from the template-based :ref:`autotvm <tutorials-autotvm-sec>` which relies on manual templates to define the search space, the auto-scheduler does not require any schedule templates. In other words, the auto-scheduler only uses the compute declarations in :code:`tvm/python/topi` and does not use existing schedule templates. Note that this tutorial will not run on Windows or recent versions of macOS. To get it to run, you will need to wrap the body of this tutorial in a :code:`if __name__ == "__main__":` block. """ import numpy as np import tvm from tvm import relay, auto_scheduler import tvm.relay.testing from tvm.contrib import graph_runtime ################################################################# # Define a Network # ---------------- # First, we need to define the network with relay frontend API. # We can load some pre-defined network from :code:`tvm.relay.testing`. # We can also load models from MXNet, ONNX, PyTorch, and TensorFlow # (see :ref:`front end tutorials<tutorial-frontend>`). # # For convolutional neural networks, although auto-scheduler can work correctly # with any layout, we found the best performance is typically achieved with NHWC layout. # We also implemented more optimizations for NHWC layout with the auto-scheduler. # So it is recommended to convert your models to NHWC layout to use the auto-scheduler. # You can use :ref:`ConvertLayout <convert-layout-usage>` pass to do the layout conversion in TVM. def get_network(name, batch_size, layout="NHWC", dtype="float32"): """Get the symbol definition and random weight of a network""" # auto-scheduler prefers NHWC layout if layout == "NHWC": image_shape = (224, 224, 3) elif layout == "NCHW": image_shape = (3, 224, 224) else: raise ValueError("Invalid layout: " + layout) input_shape = (batch_size,) + image_shape output_shape = (batch_size, 1000) if name.startswith("resnet-"): n_layer = int(name.split("-")[1]) mod, params = relay.testing.resnet.get_workload( num_layers=n_layer, batch_size=batch_size, layout=layout, dtype=dtype, image_shape=image_shape, ) elif name.startswith("resnet3d-"): n_layer = int(name.split("-")[1]) mod, params = relay.testing.resnet.get_workload( num_layers=n_layer, batch_size=batch_size, layout=layout, dtype=dtype, image_shape=image_shape, ) elif name == "mobilenet": mod, params = relay.testing.mobilenet.get_workload( batch_size=batch_size, layout=layout, dtype=dtype, image_shape=image_shape ) elif name == "squeezenet_v1.1": assert layout == "NCHW", "squeezenet_v1.1 only supports NCHW layout" mod, params = relay.testing.squeezenet.get_workload( version="1.1", batch_size=batch_size, dtype=dtype, image_shape=image_shape, ) elif name == "inception_v3": input_shape = (batch_size, 3, 299, 299) if layout == "NCHW" else (batch_size, 299, 299, 3) mod, params = relay.testing.inception_v3.get_workload(batch_size=batch_size, dtype=dtype) elif name == "mxnet": # an example for mxnet model from mxnet.gluon.model_zoo.vision import get_model assert layout == "NCHW" block = get_model("resnet50_v1", pretrained=True) mod, params = relay.frontend.from_mxnet(block, shape={"data": input_shape}, dtype=dtype) net = mod["main"] net = relay.Function( net.params, relay.nn.softmax(net.body), None, net.type_params, net.attrs ) mod = tvm.IRModule.from_expr(net) return mod, params, input_shape, output_shape # Define the neural network and compilation target. # If the target machine supports avx512 instructions, replace the # "llvm -mcpu=core-avx2" with "llvm -mcpu=skylake-avx512" network = "resnet-50" batch_size = 1 layout = "NHWC" target = tvm.target.Target("llvm -mcpu=core-avx2") dtype = "float32" log_file = "%s-%s-B%d-%s.json" % (network, layout, batch_size, target.kind.name) ################################################################# # Extract Search Tasks # -------------------- # Next, we extract the search tasks and their weights from a network. # The weight of a task is the number of appearances of the task's subgraph # in the whole network. # By using the weight, we can approximate the end-to-end latency of the network # as :code:`sum(latency[t] * weight[t])`, where :code:`latency[t]` is the # latency of a task and :code:`weight[t]` is the weight of the task. # The task scheduler will just optimize this objective. # Extract tasks from the network print("Extract tasks...") mod, params, input_shape, output_shape = get_network(network, batch_size, layout, dtype=dtype) tasks, task_weights = auto_scheduler.extract_tasks(mod["main"], params, target) for idx, task in enumerate(tasks): print("========== Task %d (workload key: %s) ==========" % (idx, task.workload_key)) print(task.compute_dag) ################################################################# # Begin Tuning # ------------ # Now, we set some options for tuning and launch the search tasks # # * :code:`num_measure_trials` is the number of measurement trials we can use during the tuning. # You can set it to a small number (e.g., 200) for a fast demonstrative run. # In practice, we recommend setting it around :code:`800 * len(tasks)`, # which is typically enough for the search to converge. # For example, there are 29 tasks in resnet-50, so we can set it as 20000. # You can adjust this parameter according to your time budget. # * In addition, we use :code:`RecordToFile` to dump measurement records into a log file, # The measurement records can be used to query the history best, resume the search, # and do more analyses later. # * see :any:`auto_scheduler.TuningOptions`, # :any:`auto_scheduler.LocalRunner` for more parameters. # def run_tuning(): print("Begin tuning...") tuner = auto_scheduler.TaskScheduler(tasks, task_weights) tune_option = auto_scheduler.TuningOptions( num_measure_trials=200, # change this to 20000 to achieve the best performance runner=auto_scheduler.LocalRunner(repeat=10, enable_cpu_cache_flush=True), measure_callbacks=[auto_scheduler.RecordToFile(log_file)], ) tuner.tune(tune_option) # We do not run the tuning in our webpage server since it takes too long. # Uncomment the following line to run it by yourself. # run_tuning() ###################################################################### # .. note:: Explain the printed information during tuning # # During the tuning, a lot of information will be printed on the console. # They are used for debugging purposes. The most important info is the output # of the task scheduler. The following table is a sample output. # # .. code-block:: c # # ---------------------------------------------------------------------- # ------------------------------ [ Task Scheduler ] # ---------------------------------------------------------------------- # | ID | Latency (ms) | Speed (GFLOPS) | Trials | # ------------------------------------------------- # | 0 | 0.010 | 0.40 | 64 | # | 1 | 0.087 | 47.19 | 64 | # | 2 | 0.008 | -0.00 | 64 | # | 3 | 0.177 | 582.07 | 64 | # | 4 | 0.268 | 862.37 | 256 | # | 5 | 0.166 | 621.13 | 128 | # | 6 | 0.170 | 605.10 | 128 | # | 7 | 0.128 | 403.20 | 64 | # | 8 | 0.189 | 545.71 | 64 | # | 9 | 0.231 | 1001.01 | 448 | # | 10 | 0.155 | 664.80 | 256 | # | 11 | 0.155 | 662.86 | 256 | # | 12 | 0.119 | 434.08 | 64 | # | 13 | 0.199 | 522.13 | 64 | # | 14 | 0.235 | 986.56 | 320 | # | 15 | 0.149 | 689.13 | 128 | # | 16 | 0.155 | 664.80 | 192 | # | 17 | 0.151 | 340.64 | 64 | # | 18 | 0.176 | 597.55 | 128 | # | 19 | 0.220 | 1054.37 | 192 | # | 20 | 0.150 | 686.01 | 128 | # | 21 | 0.159 | 650.88 | 128 | # | 22 | 0.073 | 358.19 | 64 | # | 23 | 0.031 | 70.63 | 64 | # | 24 | 0.251 | 947.73 | 128 | # | 25 | 0.157 | 652.47 | 128 | # | 26 | 0.215 | 954.84 | 128 | # | 27 | 0.237 | 868.92 | 128 | # | 28 | 0.266 | 774.06 | 128 | # ------------------------------------------------- # Estimated total latency: 10.016 ms Trials: 3992 Used time : 1131 s Next ID: 15 # # This table lists the latency and (estimated) speed of all tasks. # It also lists the allocation of measurement trials for all tasks. # The last line prints the total weighted latency of these tasks, # which can be a rough estimation of the end-to-end execution time # of the network. # The last line also prints the total number of measurement trials, # total time spent on auto-tuning and the id of the next task to tune. # # There will also be some "dmlc::Error"s errors, because the # auto-scheduler will try some invalid schedules. # You can safely ignore them if the tuning can continue, because these # errors are isolated from the main process. # ###################################################################### # .. note:: Terminate the tuning earlier # # You can terminate the tuning earlier by forcibly killing this process. # As long as you get at least one valid schedule for each task in the log file, # you should be able to do the compilation (the secion below). # ################################################################# # Compile and Evaluate # -------------------- # After auto-tuning, we can compile the network with the best schedules we found. # All measurement records are dumped into the log file during auto-tuning, # so we can read the log file and load the best schedules. # Compile with the history best print("Compile...") with auto_scheduler.ApplyHistoryBest(log_file): with tvm.transform.PassContext(opt_level=3, config={"relay.backend.use_auto_scheduler": True}): lib = relay.build(mod, target=target, params=params) # Create graph runtime ctx = tvm.context(str(target), 0) module = graph_runtime.GraphModule(lib["default"](ctx)) data_tvm = tvm.nd.array((np.random.uniform(size=input_shape)).astype(dtype)) module.set_input("data", data_tvm) # Evaluate print("Evaluate inference time cost...") ftimer = module.module.time_evaluator("run", ctx, repeat=3, min_repeat_ms=500) prof_res = np.array(ftimer().results) * 1e3 # convert to millisecond print("Mean inference time (std dev): %.2f ms (%.2f ms)" % (np.mean(prof_res), np.std(prof_res))) ################################################################# # Other Tips # ---------- # 1. During the tuning, the auto-scheduler needs to compile many programs and # extract feature from them. This part is CPU-intensive, # so a high-performance CPU with many cores is recommended for faster search. # 2. You can use :code:`python3 -m tvm.auto_scheduler.measure_record --mode distill -i log.json` # to distill the large log file and only save the best useful records. # 3. You can resume a search from the previous log file. You just need to # add a new argument :code:`load_log_file` when creating the task scheduler # in function :code:`run_tuning`. Say, # :code:`tuner = auto_scheduler.TaskScheduler(tasks, task_weights, load_log_file=log_file)` # 4. If you have multiple target CPUs, you can use all of them for measurements to # parallelize the measurements. Check this :ref:`section <tutorials-autotvm-scale-up-rpc-tracker>` # to learn how to use the RPC Tracker and RPC Server. # To use the RPC Tracker in auto-scheduler, replace the runner in :code:`TuningOptions` # with :any:`auto_scheduler.RPCRunner`.
[ "noreply@github.com" ]
vinx13.noreply@github.com
a6916113ebb29a788902cd8dc81fe5fb7126a622
c7c1830f23d99806c3532b9a929c08ca0736ad58
/tests/test_orthogonal_expansion.py
88083312e09fcbe9de70fecdc2a9e099bbea14a9
[ "MIT" ]
permissive
jonathf/chaospy
8a92df59fd83e39bb64921586e7971c03791eea4
b5959a24e0bd9b214c292485919d7ce58795f5dc
refs/heads/master
2023-08-15T16:04:55.764743
2023-06-03T11:35:53
2023-06-03T11:35:53
22,848,758
405
87
MIT
2023-05-18T11:52:46
2014-08-11T17:54:25
Python
UTF-8
Python
false
false
2,271
py
"""Testing polynomial related to distributions.""" import chaospy import numpy import pytest DISTRIBUTIONS = { "discrete": chaospy.DiscreteUniform(-10, 10), "normal": chaospy.Normal(0, 1), "uniform": chaospy.Uniform(-1, 1), "exponential": chaospy.Exponential(1), "gamma": chaospy.Gamma(1), "beta": chaospy.Beta(3, 3, lower=-1, upper=1), "mvnormal": chaospy.MvNormal([0], [1]), "custom": chaospy.UserDistribution( cdf=lambda x: (x+1)/2, pdf=lambda x: 1/2., lower=lambda: -1, upper=lambda: 1, ppf=lambda q: 2*q-1, mom=lambda k: ((k+1.)%2)/(k+1), ttr=lambda k: (0., k*k/(4.*k*k-1)), ), } BUILDERS = { "stieltjes": chaospy.expansion.stieltjes, "cholesky": chaospy.expansion.cholesky, # "gram_schmidt": chaospy.expansion.gram_schmidt, } @pytest.fixture(params=DISTRIBUTIONS) def distribution(request): return DISTRIBUTIONS[request.param] @pytest.fixture(params=BUILDERS) def builder(request): return BUILDERS[request.param] @pytest.fixture def expansion_small(builder, distribution): return builder(4, distribution, normed=True) @pytest.fixture def expansion_large(builder, distribution): return builder(7, distribution, normed=True) @pytest.fixture def expansion_approx(builder, distribution): def not_implemented(*args, **kwargs): raise chaospy.UnsupportedFeature() distribution._ttr = not_implemented distribution._mom = not_implemented return builder(4, distribution, normed=True) def test_orthogonality_small(expansion_small, distribution): outer = chaospy.E(chaospy.outer(expansion_small, expansion_small), distribution) assert numpy.allclose(outer, numpy.eye(len(outer)), rtol=1e-8) def test_orthogonality_large(expansion_large, distribution): outer = chaospy.E(chaospy.outer(expansion_large, expansion_large), distribution) assert numpy.allclose(outer, numpy.eye(len(outer)), rtol=1e-4) def test_approx_expansion(expansion_approx, expansion_small, distribution): outer1 = chaospy.E(chaospy.outer(expansion_small, expansion_small), distribution) outer2 = chaospy.E(chaospy.outer(expansion_approx, expansion_approx), distribution) assert numpy.allclose(outer1, outer2, rtol=1e-12)
[ "noreply@github.com" ]
jonathf.noreply@github.com
783e4dc26ba3c51cf843b70453b1c8246847ffce
e8c02a166223b84806d6b742a3c6d5679e9e9e25
/IncTrend/nlp_api/migrations/0001_initial.py
9813a15b788ec5bd45d0e76a9494e7b4fe2bb278
[ "MIT" ]
permissive
AMOOOMA/IncTrend
6ee41420a30e2281edc9256688d1e2609d979ed3
c16cc1f91530a208122a48539d5a7bb0d3c75305
refs/heads/main
2023-02-20T03:02:21.265637
2021-01-16T07:11:07
2021-01-16T07:11:07
309,606,780
0
0
null
null
null
null
UTF-8
Python
false
false
567
py
# Generated by Django 3.1.3 on 2020-12-31 12:39 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Message', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('type', models.CharField(max_length=10)), ('body', models.CharField(max_length=50)), ], ), ]
[ "jrl-china@hotmail.com" ]
jrl-china@hotmail.com
c0d47f8307c3798e6edc8b33f7c824987feb7e12
c848015268e430b10f1bc39a2fd5a6f7a8cda44d
/bin/Compare_unique/Sum_unique.py
b751b593c4924b7a4001cba2afeabe8f2079e20b
[]
no_license
wangpanqiao/Transposition
36b87d2f9032170112fce993f17454b6562bb108
e102de63df2bcd5f7b41075a447eb937ee753832
refs/heads/master
2020-08-27T00:07:00.923134
2015-12-01T22:30:45
2015-12-01T22:30:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,987
py
#!/opt/Python/2.7.3/bin/python import sys from collections import defaultdict import numpy as np import re import os import argparse from Bio import SeqIO def usage(): test="name" message=''' python Sum_unique.py --input RIL275_RelocaTEi.CombinedGFF.characterized.unique_mPing.gff ''' print message def fasta_id(fastafile): fastaid = defaultdict(str) for record in SeqIO.parse(fastafile,"fasta"): fastaid[record.id] = 1 return fastaid #split unit[8] of gff def gff_attr8(unit8): temp = defaultdict(lambda : str()) attrs = re.split(r';', unit8) for attr in attrs: #print attr if not attr == '': #print 'yes' idx, value = re.split(r'\=', attr) temp[idx] = value return temp #correct mping index for these not accurate calls def readtable_ril_mping_correct(infile): mping_correct = defaultdict(lambda : str()) with open (infile, 'r') as filehd: for line in filehd: line = line.rstrip() if len(line) > 2: unit = re.split(r'\t',line) if not unit[1] == unit[10]: mping= '%s:%s-%s' %(unit[0], unit[3], unit[4]) attrs1 = gff_attr8(unit[8]) attrs2 = gff_attr8(unit[17]) if attrs1['TSD'] == 'supporting_junction' or not len(attrs1['TSD']) == 3: if not mping_correct.has_key(mping): if not attrs2['TSD'] == 'supporting_junction' and len(attrs2['TSD']) == 3: mping_correct[mping] = '%s:%s-%s' %(unit[9], unit[12], unit[13]) return mping_correct ##overlap with ril #Chr1 RIL231_0 transposable_element_attribute 4228091 4228092 + . . ID=Chr1.4228092.spanners;Strain=RIL231_0;avg_flankers=6;spanners=0;type=homozygous;TE=mping;TSD=TT Chr1 RIL231_0 #some of mPing insertion sites are not accurate. we create a dict to store correct index of this mping using their overlap. #the resulted allele frequency should have correct position for all the mping def readtable_ril(infile, mping_correct): data = defaultdict(lambda : defaultdict(lambda : int())) r = re.compile(r'RIL(\d+)') with open (infile, 'r') as filehd: for line in filehd: line = line.rstrip() if len(line) > 2: unit = re.split(r'\t',line) if not unit[1] == unit[10]: mping1= '%s:%s-%s' %(unit[0], unit[3], unit[4]) mping2= '%s:%s-%s' %(unit[9], unit[12], unit[13]) ril1 = r.search(unit[1]).groups(0)[0] if r.search(unit[1]) else 'NA' ril2 = r.search(unit[10]).groups(0)[0] if r.search(unit[10]) else 'NA' if mping_correct.has_key(mping1): mping1 = mping_correct[mping1] if mping_correct.has_key(mping2): mping2 = mping_correct[mping2] print '%s\t%s\t%s\t%s' %(mping1, ril1, mping2, ril2) data[mping1][ril1] = 1 data[mping2][ril2] = 1 return data ##overlap with HEG4 def readtable_nonref(infile, mping_correct): data = defaultdict(lambda : defaultdict(lambda : int())) r = re.compile(r'RIL(\d+)') with open (infile, 'r') as filehd: for line in filehd: line = line.rstrip() if len(line) > 2: unit = re.split(r'\t',line) mping= '%s:%s-%s' %(unit[0], unit[3], unit[4]) ril = r.search(unit[1]).groups(0)[0] if r.search(unit[1]) else 'NA' if mping_correct.has_key(mping): mping = mping_correct[mping] data[mping][ril] = 1 return data ##unique mping def readtable(infile): data = defaultdict(lambda : int()) r = re.compile(r'RIL(\d+)') with open (infile, 'r') as filehd: for line in filehd: line = line.rstrip() if len(line) > 2: unit = re.split(r'\t',line) ril = r.search(unit[1]).groups(0)[0] if r.search(unit[1]) else 'NA' data[ril] += 1 return data def main(): parser = argparse.ArgumentParser() parser.add_argument('-i', '--input') parser.add_argument('-o', '--output') parser.add_argument('-v', dest='verbose', action='store_true') args = parser.parse_args() try: len(args.input) > 0 except: usage() sys.exit(2) prefix = os.path.splitext(os.path.splitext(args.input)[0])[0] #mping_correct_index = defaultdict(lambda : str()) mping_correct_index = readtable_ril_mping_correct('%s.overlap_ril' %(prefix)) mping_ovlp_rils = readtable_ril('%s.overlap_ril' %(prefix), mping_correct_index) mping_ovlp_heg4 = readtable_nonref('%s.overlap_ref' %(prefix), mping_correct_index) r = re.compile(r'(\w+):(\d+)-(\d+)') ##mPing_allele_frequency ofile = open('%s.mping.ril.frequency' %(prefix), 'w') ofile1 = open('%s.mping.ril.list' %(prefix), 'w') for mping in mping_ovlp_rils.keys(): m = r.search(mping) chro, start, end = ['', 0, 0] if m: chro = m.groups(0)[0] start = m.groups(0)[1] end = m.groups(0)[2] count = len(mping_ovlp_rils[mping].keys()) print >> ofile1, '%s\t%s' %(mping, ','.join(map(str, mping_ovlp_rils[mping].keys()))) print >> ofile, '%s\t%s\t%s\t%s\t%s\t%s\t%s' %(chro, start, end, mping, '+', count, float(count)/275) ofile.close() ofile1.close() ##RILs shared and unique mPing #shared with ril ril_mping_count = defaultdict(lambda : int()) for mping in mping_ovlp_rils.keys(): for ril in mping_ovlp_rils[mping].keys(): if mping_ovlp_heg4[mping][ril] == 0: ril_mping_count[ril] += 1 #shared with heg4 heg4_mping_count = defaultdict(lambda : int()) for mping in mping_ovlp_heg4.keys(): for ril in mping_ovlp_heg4[mping].keys(): if mping_ovlp_heg4[mping][ril] > 0: heg4_mping_count[ril] += 1 #unique unique_mping = readtable(args.input) #output table ofile = open('%s.mping.shared_unique_table.txt' %(prefix), 'w') print >> ofile, 'Sample\tShared_HEG4\tShared_RILs\tShared\tUnique' for ril in sorted(heg4_mping_count.keys(), key=int): shared_heg4 = heg4_mping_count[ril] shared_rils = ril_mping_count[ril] shared = int(shared_heg4) + int(shared_rils) unique = unique_mping[ril] print >> ofile, 'RIL%s\t%s\t%s\t%s\t%s' %(ril, shared_heg4, shared_rils, shared, unique) ofile.close() print 'Sample\tUnique_mPing' #unique_mping = readtable(args.input) for ril in sorted(unique_mping.keys(), key=int): print 'RIL%s\t%s' %(ril, unique_mping[ril]) if __name__ == '__main__': main()
[ "jinfeng7chen@gmail.com" ]
jinfeng7chen@gmail.com
01045257a91ea7fa12a3f6ee1867290f534bc9f7
4ef556534cff2d9b98fd9d3a6c46826b468dc953
/fifo_inventory/inventory/migrations/0002_auto_20200308_1949.py
9f4df117c8eb4dfd926c1e8a6204683112a204de
[]
no_license
damianlewandowski/fifo-inventory2
c20753bdcaace5a1266e78d7b0210330218e31d8
d04caebc31a95e7cb6fc895a6ec68e7b7077ecdd
refs/heads/master
2022-01-29T04:23:09.042476
2020-03-10T20:17:54
2020-03-10T20:17:54
246,001,837
0
0
null
2022-01-21T20:15:01
2020-03-09T10:07:58
Python
UTF-8
Python
false
false
440
py
# Generated by Django 3.0.2 on 2020-03-08 19:49 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('inventory', '0001_initial'), ] operations = [ migrations.AlterField( model_name='bought', name='date', field=models.DateField(default=datetime.date.today, primary_key=True, serialize=False), ), ]
[ "damian20lewandowski@gmail.com" ]
damian20lewandowski@gmail.com
5472f7afafbd1ac9d8ca1335f9546198f7bae6b8
8e91066decbac1e206f58d32e4c756ae8ecda3d3
/zipcodeInsetion.py
62d1de9c947f63b35eb9f8ec5202289a2971c1c7
[]
no_license
pgokhale2000/Bike-Share-Analysis
9ff71cbc9a916e01c47b0104afcaeaa28f5825ee
0f664a854955c4fe3aed2a73243e1b56536800bb
refs/heads/main
2023-01-29T08:58:45.900454
2020-12-13T04:49:37
2020-12-13T04:49:37
321,472,017
0
0
null
null
null
null
UTF-8
Python
false
false
1,037
py
import pandas as pd import requests station = pd.read_csv("station.csv") def getZipCode(lat, long): response = requests.get( f'https://maps.googleapis.com/maps/api/geocode/json?latlng={str(lat)},{str(long)}&key=AIzaSyBMmksnGsbnDR4g93iglqrq7qBZCdenv88') resp_payload = response.json() zip = resp_payload["results"][0]["address_components"][-1]["long_name"] def getZipCode2(row): lat = row["lat"] long = row["long"] response = requests.get( f'https://maps.googleapis.com/maps/api/geocode/json?latlng={str(lat)},{str(long)}&key=AIzaSyBMmksnGsbnDR4g93iglqrq7qBZCdenv88') resp_payload = response.json() zip = resp_payload["results"][0]["address_components"][-1]["long_name"] return zip def computeZips(): station["zip_code"] = station.apply(getZipCode2, axis=1) '''for index, row in station.iterrows(): station.iloc[index]['zip_code'] = getZipCode( row["lat"], row["long"])''' print(station) computeZips() station.to_csv(r'./station_with_zip.csv')
[ "ag759@cornell.edu" ]
ag759@cornell.edu
435d4ff9ce5348e65b602a4f93b8ba42263ed6c2
f03b829adca54cdd351f28816dbf724da0b7dc58
/node_modules/mathjs/benchmark/matrix_operations_python.py
21c4936f2b8caa89946b07b5c6c467896f8b5982
[ "Apache-2.0" ]
permissive
srikaewa/SUTSmartFarm
a5657af5af55202ad9af67ddf8e36207e171e30b
6b2a22944ddf54a99abe34f1b67d332bc926c1ad
refs/heads/master
2020-04-16T21:57:19.749841
2019-01-18T21:09:22
2019-01-18T21:09:22
161,265,724
0
0
null
null
null
null
UTF-8
Python
false
false
4,175
py
# install numpy # # sudo apt install python-pip # python -m pip install --upgrade pip # pip install --user numpy scipy matplotlib ipython jupyter pandas sympy nose # import sys import timeit import numpy as np print (sys.version_info) # fiedler matrix 25 x 25 A = [ [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24], [ 1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], [ 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22], [ 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21], [ 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20], [ 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], [ 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], [ 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [ 8, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], [ 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], [10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], [11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], [13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], [14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], [15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 8], [17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7], [18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6], [19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5], [20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4], [21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3], [22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2], [23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1], [24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0] ] iterations = 10000 ms = 1000000 def add(): return np.add(A, A) def multiply(): return np.matmul(A, A) def transpose(): return np.transpose(A) def det(): return np.linalg.det(A) print('Add duration {} microseconds'.format(timeit.timeit(add, number=iterations) * ms / (iterations))) print('Multiply duration {} microseconds'.format(timeit.timeit(multiply, number=iterations) * ms / iterations)) print('Transpose duration {} microseconds'.format(timeit.timeit(transpose, number=iterations) * ms / iterations)) print('Det duration {} microseconds'.format(timeit.timeit(det, number=iterations) * ms / iterations)) # run again with more iterations to see whether we get the same sort of durations iterations2 = iterations * 10 print('') print('second round...') print('Add duration {} microseconds'.format(timeit.timeit(add, number=iterations2) * ms / iterations2)) print('Multiply duration {} microseconds'.format(timeit.timeit(multiply, number=iterations2) * ms / iterations2)) print('Transpose duration {} microseconds'.format(timeit.timeit(transpose, number=iterations2) * ms / iterations2)) print('Det duration {} microseconds'.format(timeit.timeit(det, number=iterations2) * ms / iterations2))
[ "srikaewa@gmail.com" ]
srikaewa@gmail.com
a7c12818f060d53af7796631de3fbc80c84d53b6
f61c674c0efcff2afffd008f09557afc5cec9006
/scrapper.py
d6e9ad9d30a1382d5491db7632cf759e4067cd97
[]
no_license
amanchourasiya1004/automation
dd188c5368f01cfea9041fe28e2d233eb9437d29
aaf6232b36e36d50b0ee0753bb77f79763f06c01
refs/heads/main
2023-08-23T20:35:11.154046
2021-10-13T14:10:40
2021-10-13T14:10:40
415,052,261
0
0
null
2021-10-13T14:10:41
2021-10-08T16:14:29
Python
UTF-8
Python
false
false
13,791
py
# Author - Aman Chourasiya # This menu-driven application extracts data of companies from clutch.co # please install all dependencies using this command- pip install -r requirements.txt # make sure you have python3 installed in your system # changing things now and then # it is alpha branch now import requests import csv import time from tqdm import tqdm from bs4 import BeautifulSoup as BS headersT = {'User-Agent':"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0.1"} # headersT is a dictionary which conveys information to the web server regarding the source of request server_eror="Access Denied by server. Quitting.." path_dictionary={} supported_domains=[] parser="html.parser" not_avai="Not Available" def populate_domains_links(): # function to map domains to their links path_dictionary['Mobile App Development']='https://clutch.co/directory/mobile-application-developers' path_dictionary['Web Development']='https://clutch.co/web-developers' path_dictionary['Software Development']='https://clutch.co/developers' path_dictionary['Artificial Intelligence']='https://clutch.co/developers/artificial-intelligence' path_dictionary['Blockchain']='https://clutch.co/developers/blockchain' path_dictionary['Social Media Marketing']='https://clutch.co/agencies/social-media-marketing' path_dictionary['Digital Marketing']='https://clutch.co/agencies/digital-marketing' path_dictionary['Web Design']='https://clutch.co/web-designers' path_dictionary['Graphic Design']='https://clutch.co/agencies/graphic-designers' path_dictionary['Logo Design']='https://clutch.co/agencies/logo-designers' supported_domains.append('Mobile App Development') supported_domains.append('Web Development') supported_domains.append('Software Development') supported_domains.append('Artificial Intelligence') supported_domains.append('Blockchain') supported_domains.append('Social Media Marketing') supported_domains.append('Digital Marketing') supported_domains.append('Web Design') supported_domains.append('Graphic Design') supported_domains.append('Logo Design') def hourratehandler(data): # function to show less than operator if '&lt;' in data.text: return data.text.split(" ", 1)[1] return data.text def getcontact(url): # function to obtain contact number of the company cnumber=None time.sleep(0.2) with requests.Session() as session2: session2.headers.update(headersT) t = session2.get(url) if(t.status_code!=200): print(server_eror) exit() try: cnumber = BS(t.content, features=parser).find(class_='quick-menu-details').find('a').string.strip() except Exception as _: return not_avai v=None try: v = int(cnumber) except Exception as _: v=cnumber return v def getlink(url): # function to get link to the website in desired format for i in range(len(url)): if(url[i]=='?'): return url[:i] return url def getlargestpagenumber(root): try: num=root.find("nav").find("ul", class_=["pagination justify-content-center"]).find("li",class_=["page-item last"]).find('a')['data-page'] except Exception as _: return 1 # print(num) return int(num) # defining few selectors for DOM parsing selector1="provider-info col-md-10" selector2="col-md-3 provider-info__details" selector3="row provider-info--content" selector4="list-item custom_popover" populate_domains_links() # mapping domains to their links in clutch.co # Application Menu border="| |" Menu=[ " _____________________________________", "| List of Domains Supported |", "| ----------------------------------- |", "| 1. Mobile App Development |", border, "| 2. Web Development |", border, "| 3. Software Development |", border, "| 4. Artificial Intelligence |", border, "| 5. Blockchain |", border, "| 6. Social Media Marketing |", border, "| 7. Digital Marketing |", border, "| 8. Web Design |", border, "| 9. Grapphic Design |", border, "| 10. Logo Design |", "|_____________________________________|\n", " ______________________________________________", "| Instructions for providing input - |", "|----------------------------------------------|", "| If you want to choose a single domain, enter |", "| its number as input. |", "| |", "| If you want to choose multiple domains, |", "| enter each of their numbers space separated. |", "| For example, if you want to choose |", "| Web Development and Blockchain, Enter- 2 5 |", "|______________________________________________|\n" ] for i in Menu: print(i) domains=input("Enter the domain(s) you want to choose: ").strip().split() choosen_domains=[] for i in domains: try: if(int(i)>10 or int(i)<1): print("Please enter valid number. Exiting..") exit() choosen_domains.append(int(i)-1) except TypeError: print("Please enter valid number. Exiting program..") exit() # corner cases if(len(choosen_domains)==0): print("Please enter atleast one domain. Quitting..") exit() else: print("\nChoosen Domains-\n") for i in choosen_domains: print(supported_domains[i]) # Taking number of companies required as input num_companies=None try: menu2=[ " ______________________________________________", "| Data of how many companies do you want from |", "| each domain choosen by you? |", "| For example if you want data of 400 companies|", "| from each of the domains choosen, enter 400. |", "|______________________________________________|\n" ] for i in menu2: print(i) print() num_companies=int(input("Enter a single number: ")) except TypeError: print("Invalid Input. Quitting..") exit() if(num_companies<=0 or num_companies==None): print("Please enter positive integer. Quitting..") exit() # Fields in the csv file fields=['Domain','Company','Website','Location','Contact','Rating','Review Count','Hourly Rate','Min Project Size','Employee Size'] # csv file initialization filename = "company_data"+str(int(time.time()))+".csv" csvfile=open(filename,'w') csvwriter=csv.writer(csvfile) csvwriter.writerow(fields) blcok=0 # starting a session with requests.Session() as session: session.headers.update(headersT) # collecting data for each domain for index in choosen_domains: # progress bar creation print("\nCollecting data of companies involved in "+supported_domains[index]+"...\nProgress Bar..\n") pbar = tqdm(total=num_companies, position=0, leave=True) print() url_main=path_dictionary[supported_domains[index]] time.sleep(0.2) th = session.get(url_main) # opening the domain site in clutch.co if(th.status_code!=200): print(server_eror) exit() soup = BS(th.text, features=parser) root=soup.find("body").find("main", class_=["directory_wrap"]).find("section", class_=["container"]) num_pages=getlargestpagenumber(root) # Maximum number of pages count_companies=0 # Keeps count of companies collected so far page_index=0 # Current page index in the site while(page_index<=num_pages and count_companies<num_companies): add_on="?page="+str(page_index) # specifying page number in url page_index+=1 url=url_main+add_on time.sleep(0.2) th = session.get(url) # load the corresponding page if(th.status_code!=200): print(server_eror) exit() soup = BS(th.text, features=parser) root=soup.find("body").find("main", class_=["directory_wrap"]).find("section", class_=["container"]) # list of all the companies in the current page list_companies=root.find("div", class_=["list_wrap"]).find("ul", class_=["directory-list active"]) # there are two kinds of companies sponsored and non-sponsored req=list_companies.find_all('li', {"class": "provider provider-row sponsor"}) len_sponsored=len(req) req+=list_companies.find_all('li', {"class": "provider provider-row"}) add_class=' sponsor' #company info(current page): for i in range(len(req)): if(i>=len_sponsored): add_class='' details=[] # to store the details of a company details.append(supported_domains[index]) # each of the following properties is under try-except block to avoid any error during parsing or unexpected behaviour #company name:- try: company=req[i].find('div').find('div').find('div').find('div').find("h3").find("a") details.append(company.text.strip()) except Exception as _: details.append(not_avai) #website:- try: website=req[i].find("div").find("div",class_=["provider-detail col-md-2"]).find('ul').find('li').find('a').get("href") details.append(getlink(website)) except Exception as _: details.append(not_avai) #location:- try: location=req[i].find("div", class_=['row']).find('div',class_=[selector1]).find("div", class_=[selector3]).find("div", class_=[selector2]).find('div', class_=['module-list']).find_all("div", class_=[selector4])[2].find("span") details.append(location.text.strip()) except Exception as _: details.append(not_avai) #contact:- try: profileURL=req[i].find("div").find("div",class_=["provider-detail col-md-2"]).find('ul').find('li', class_=['website-profile']).find('a').get("href") profileURL="https://clutch.co/"+profileURL contact = getcontact(profileURL) details.append(contact) except Exception as _: details.append(not_avai) #Rating:- try: rating=req[i].find('div', class_=['row']).find("div", class_=[selector1]).find("div", class_=["row provider-info--header"]).find('div', class_=["company col-md-12"+add_class]).find("div", class_=["rating-reviews"]).find("a").find("div", class_=["reviews-totals-stars"]).find("div", class_=['fivestar']).find("div", class_=["star star-1 star-odd"]).find("span") details.append(round(float(rating.text.strip()),2)) except Exception as _: details.append(not_avai) #Review count:- try: review_cnt=req[i].find('div', class_=['row']).find("div", class_=[selector1]).find("div", class_=["row provider-info--header"]).find('div', class_=["company col-md-12"+add_class]).find("div", class_=["rating-reviews"]).find("div", class_=['reviews-link']).find("a") details.append(review_cnt.text.strip()) except Exception as _: details.append(not_avai) #Hourly rate:- try: hr_rate=req[i].find("div", class_=['row']).find('div',class_=[selector1]).find("div", class_=[selector3]).find("div", class_=[selector2]).find('div', class_=['module-list']).find_all("div", class_=[selector4])[0].find("span") details.append(hourratehandler(hr_rate)) except Exception as _: details.append(not_avai) #Min project size:- try: minProjSize=req[i].find("div", class_=['row']).find('div',class_=[selector1]).find("div", class_=[selector3]).find("div", class_=[selector2]).find('div', class_=['module-list']).find("div", class_=["list-item block_tag custom_popover"]).find("span").text details.append(minProjSize) except Exception as _: details.append(not_avai) #Employee size:- try: employeeSize=req[i].find("div", class_=['row']).find('div',class_=[selector1]).find("div", class_=[selector3]).find("div", class_=[selector2]).find('div', class_=['module-list']).find_all("div", class_=[selector4])[1].find("span").text details.append(employeeSize) except Exception as _: details.append(not_avai) csvwriter.writerow(details) # populating the csv file with data count_companies+=1 pbar.update(1) if(count_companies>=num_companies): pbar.close() break csvfile.close()
[ "amanchourasiya1004@gmail.com" ]
amanchourasiya1004@gmail.com